xjasonlyu / tun2socks

tun2socks - powered by gVisor TCP/IP stack
https://github.com/xjasonlyu/tun2socks/wiki
GNU General Public License v3.0
2.84k stars 403 forks source link

Feature(proxy): support gost relay protocol #310

Closed xjasonlyu closed 8 months ago

xjasonlyu commented 8 months ago

Feature implementation: https://github.com/xjasonlyu/tun2socks/issues/307

Note: latest GOSTv3 is required, and this feature is currently experimental.

zoghal commented 1 month ago

hi on windows, when run this:

tun2socks-2.5.2
windows/amd64, go1.20.11, 2b494a7

tun2socks -device tun://wintun -proxy relay://user:pass@server_ip:port  -tcp-auto-tuning -loglevel debug

I get the following error:

time="2024-05-24T17:27:32+03:30" level=fatal msg="[ENGINE] failed to start: unsupported protocol: relay"
xjasonlyu commented 1 month ago

Yea, I think relay protocol is not supported in 2.5.2. You may need to compile tun2socks yourself to have this feature included for now.