xjasonlyu / tun2socks

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

[Bug] tun2socks does nothing #198

Closed izulwahidin closed 1 year ago

izulwahidin commented 1 year ago

Verify steps

Version

tun2socks-2.4.1 linux/amd64, go1.18, 77e8ad4

What OS are you seeing the problem on?

Linux

Description

so right now i have local socks5 proxy on port 7890 running.

i tried to run this cli sudo tun2socks -device tun0 -proxy socks5://127.0.0.1:7890 -interface wlp5s0 -loglevel "debug" but its not working for some reason on my end.

the log only show 2 line

i can confirm that the socks5 is working

FYI: i dont know this parameter comes from "-device tun0" so i just write tun0 since i dont kow

CLI or Config

sudo tun2socks --device tun0 -proxy socks5://127.0.0.1:7890 -interface wlp5s0 -loglevel "debug"

Logs

INFO[0000] [DIALER] bind to interface: wlp5s0           
INFO[0000] [STACK] tun://tun0 <-> socks5://127.0.0.1:7890

How to Reproduce

No response

hdid commented 1 year ago

Please remove "--interface" option and try again: tun2socks --device tun://tun0 --proxy socks5://127.0.0.1:7890 --loglevel "debug"

chromer030 commented 1 year ago

https://github.com/xjasonlyu/tun2socks/wiki/Route-Configuration

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

SaeedDev94 commented 1 year ago

https://medium.com/@SaeedPooyanfar/use-socks-proxy-as-vpn-in-linux-d31b1cce44e0

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days