| Port details on branch 2026Q3 |
- tun2socks Tunnel TCP/UDP traffic through a SOCKS5/HTTP proxy via TUN interface
- 2.6.0_3 net
=0 2.6.0_3Version of this port present on the latest quarterly branch. - Maintainer: dasun4@pm.me
 - Port Added: 2026-07-10 08:24:41
- Last Update: 2026-08-19 17:40:44
- Commit Hash: 039eec1
- License: MIT
- WWW:
- https://github.com/xjasonlyu/tun2socks
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- tun2socks>0:net/tun2socks
- To install the port:
- cd /usr/ports/net/tun2socks/ && make install clean
- To add the package, run one of these commands:
- pkg install net/tun2socks
- pkg install tun2socks
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: tun2socks
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1782851820
SHA256 (xjasonlyu-tun2socks-v2.6.0_GH0.tar.gz) = 348d13eff97beb6d08e0379727e89f9a4571bf61ed5f7327a3fcc3767e9c5942
SIZE (xjasonlyu-tun2socks-v2.6.0_GH0.tar.gz) = 374193
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- go125 : lang/go125
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- net_tun2socks
- USES:
- go:modules
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.6.0_3 19 Aug 2026 17:40:44
    |
Dag-Erling Smørgrav (des)  |
various: Bump go ports for go-1.25.14 / 1.26.7 |
2.6.0_2 14 Aug 2026 00:43:14
    |
Dag-Erling Smørgrav (des)  |
various: Bump go ports for go-1.25.13 / 1.26.6 |
2.6.0_1 10 Jul 2026 08:00:52
    |
Dag-Erling Smørgrav (des)  |
various: Bump go ports for go-1.25.12 / 1.26.5 |