BSD Ports

net/tun2socks 2.6.0_6 FreeBSD

Tunnel TCP/UDP traffic through a SOCKS5/HTTP proxy via TUN interface

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
MIT
Categories
net
Package size
3300.1 KiB, 10409.9 KiB installed

Description

tun2socks creates a TUN network interface that tunnels TCP and UDP traffic through a SOCKS5, HTTP, Shadowsocks, or Relay proxy. It is powered by gVisor's userspace TCP/IP stack and supports gateway mode for transparent proxying of other devices on the network.

Features include IPv4/IPv6 support, multiple proxy protocols with authentication, a REST API for runtime statistics, and cross-platform compatibility with Linux, macOS, FreeBSD, OpenBSD, and Windows.

Install

Binary package:

pkg install tun2socks

From the ports tree:

cd /usr/ports/net/tun2socks/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	tun2socks>0:net/tun2socks

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.6.0_52.6.0_5--2.6.0_5
FreeBSD:14:quarterly2.6.0_52.6.0_5n/a-2.6.0_5
FreeBSD:15:latest2.6.0_52.6.0_5n/a--
FreeBSD:15:quarterly2.6.0_52.6.0_5n/an/an/a
FreeBSD:16:latest2.6.0_42.6.0_5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
go:modules
Service scripts
none

Files

distinfo 26
FileSizeSHA256
xjasonlyu-tun2socks-v2.6.0_GH0.tar.gz374193348d13eff97beb6d08e0379727e89f9a4571bf61ed5f7327a3fcc3767e9c5942
ajg-form-v1.5.1_GH0.tar.gz14946085e8e98cf63d39241c6ba815b9a71d38808c3fadb6b522feb7fab6d123c44c7
davecgh-go-spew-v1.1.1_GH0.tar.gz421527d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
docker-go-units-v0.5.0_GH0.tar.gz12243db0a1d3e4deaa52401423bf76cce0a5100cf2e51db3c33cf3c70b7953c7d6234
go-chi-chi-v5.2.1_GH0.tar.gz87036c66789b45e00def4339a65bfe0f7d8ac6895bfa0bdc5f15e4f9d901ec64ac880
go-chi-cors-v1.2.1_GH0.tar.gz8827d3fa42948b4b365db19c9a6639090c6869b968fa8c5ecb9635dce1a9bf4cf8d8
go-chi-render-v1.0.3_GH0.tar.gz61654458232c0a5b600bd64d2b48bc90a8469fcd520e070bd390bbe5e43431999495
go-gost-relay-v0.5.0_GH0.tar.gz5077b8c4f37fe815f8f8767fd731976f7157a3cd565f133bd590fb494eb011d7ef54
go-yaml-yaml-v3.0.1_GH0.tar.gz91173cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5
golang-crypto-v0.38.0_GH0.tar.gz2.157751e+06e143842797aa961fa3d62472a7b78233ac83ea3bc55d59f019daf3f559e20977
golang-net-v0.40.0_GH0.tar.gz1.50381e+061bc71dac542f6b56acda25d9833243c9221ce902193504c114676503ac0e3c51
golang-sys-v0.33.0_GH0.tar.gz1.528783e+0616370146c98a69f76b09e7b67ec93d7e259e45d85808aeb9a453a4bbff865287
golang-time-v0.11.0_GH0.tar.gz12471ec26daa712b0c9660b64ea2ec5f241144b7a8c414b85938c6adbbab69c712126
google-btree-v1.1.3_GH0.tar.gz19772ecb1f97cff16ce5b18a12ed31728a82a8e0df0c0181febf2b9c39dd3ed362ffd
google-gvisor-eede7a881b20_GH0.tar.gz3.457176e+060a3cc5b6156e5719916995a4e3f0d8e03cae30a2e0ad6d0818a7afc107762667
google-shlex-e7afc7fbc510_GH0.tar.gz734287f77e98720add261add169e386cbdcc894e2635dca299bc4119dc417ea321ca
google-uuid-v1.6.0_GH0.tar.gz20896ee63376b5675376c60e055ed66e5f3651ccc703bd580c022b8ad00cea309252d
gorilla-schema-v1.4.1_GH0.tar.gz286155ba1ae2586add03cbbe9ca0f4669c37fd257b196f6e3d2f41dc98cc99efb802b
gorilla-websocket-v1.5.3_GH0.tar.gz54884707f217e9a46c516c289b71c45a4e51b11b5e0fcec54c1fbfecde47b8a001799
pmezard-go-difflib-v1.0.0_GH0.tar.gz1139828f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda

Commit history 6

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7
6d39dcf04e Dag-Erling Smørgrav various: Bump go ports for go-1.25.13 / 1.26.6

The latest 5 of 6 in the history this site was built from.