tun2socks

command module
v2.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: GPL-3.0 Imports: 11 Imported by: 0

README

tun2socks

GitHub Workflow Go Version Go Report Maintainability GitHub License Docker Pulls Releases

English | 简体中文

Features

  • Proxy Everything: Handle all network traffic of any internet programs sent by the device through a proxy.
  • Proxy Protocols: HTTP/Socks4/Socks5/Shadowsocks with authentication support for remote connections.
  • Run Everywhere: Linux/macOS/Windows/FreeBSD/OpenBSD multi-platform support with specific optimization.
  • Gateway Mode: Act as a layer three gateway to handle network traffic from other devices in the same network.
  • Full IPv6 Support: All functions work in IPv6, tunnel IPv4 connections through IPv6 proxy and vice versa.
  • Network Stack: Powered by user-space TCP/IP stack from Google container application kernel gVisor.

Benchmarks

For all scenarios of usage, tun2socks performs best. See here for more details.

benchmark

Documentation

Full documentation and technical guides can be found at Wiki.

Community

Welcome and feel free to ask any questions at Discussions.

Credits

License

GPL-3.0

FOSSA Status

Star History

Star History Chart

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
common
pool
Package pool provides a pool of []byte.
Package pool provides a pool of []byte.
device/iobased
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints.
Package iobased provides the implementation of io.ReadWriter based data-link layer endpoints.
device/tun
Package tun provides TUN which implemented device.Device interface.
Package tun provides TUN which implemented device.Device interface.
internal
Package proxy provides implementations of proxy protocols.
Package proxy provides implementations of proxy protocols.
transport
simple-obfs
Package obfs provides obfuscation functionality for Shadowsocks protocol.
Package obfs provides obfuscation functionality for Shadowsocks protocol.
socks4
Package socks4 provides SOCKS4/SOCKS4A client functionalities.
Package socks4 provides SOCKS4/SOCKS4A client functionalities.
socks5
Package socks5 provides SOCKS5 client functionalities.
Package socks5 provides SOCKS5 client functionalities.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL