| Port details |
- tun2socks Tunnel TCP/UDP traffic through a SOCKS5/HTTP proxy via TUN interface
- 2.6.0 net
=0 Package not present on quarterly.This is expected early in the quarter (because the new packaage repo has not been built yet.). Otherwise, this missing version is most likely a FreshPorts error. - Maintainer: dasun4@pm.me
 - Port Added: 2026-06-30 21:18:03
- Last Update: 2026-07-01 10:14:04
- Commit Hash: bb63f8e
- 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. This is doubly so for new ports, like this one.
- 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 01 Jul 2026 10:14:04
    |
Tiago Gasiba (tiga)  |
net/tun2socks: Change GO_BUILDFLAGS => GO_LDFLAGS
MFH: 2026Q2 |
2.6.0 30 Jun 2026 21:14:44
    |
Tiago Gasiba (tiga)  Author: Dasun Nimantha Perera |
net/tun2socks: New port: Tunnel TCP/UDP traffic through a SOCKS5/HTTP proxy via
TUN interface
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.
WWW: https://github.com/xjasonlyu/tun2socks
Submitted by: Dasun Nimantha Perera <dasun4@pm.me>
PR: 294135
MFH: 2026Q2 |