mirror of
				https://github.com/xjasonlyu/tun2socks.git
				synced 2025-10-31 12:06:37 +08:00 
			
		
		
		
	
			
				
					
						
					
					1536735456ae36fe3c9f1455bb4fe8fb10d77bc9
				
			
			
		
	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.
Documentation
Full documentation and technical guides can be found at Wiki.
Community
Welcome and feel free to ask any questions at Discussions.
Credits
- Dreamacro/clash - A rule-based tunnel in Go
- google/gvisor - Application Kernel for Containers
- wireguard-go - Go Implementation of WireGuard
License
Stargazers over time
Description
				tun2socks - powered by gVisor TCP/IP stack
						
						
						
							
							gfwgogolanggvisorhttp-proxynatnetworkproxifier-alternativeproxyshadowsockssocks4socks5ssh-tunneltcpip-stacktortun-devicetun2sockstunneludpwireguard
						
						
						
							
								 Readme
							
						
						
							
								 MIT
							
						
						
						
							
							
							 6.9 MiB
						
					
					Languages
				
				
								
								
									Go
								
								95.4%
							
						
							
								
								
									Makefile
								
								3%
							
						
							
								
								
									Shell
								
								1.2%
							
						
							
								
								
									Dockerfile
								
								0.4%
							
						
					 
			
