heiher / hev-socks5-tunnel

A high-performance tun2socks for Linux/Android/FreeBSD/macOS/iOS/WSL2 (IPv4/IPv6/TCP/UDP)
MIT License
635 stars 130 forks source link

ssh tunnel + hev-socks5-tunnel #127

Closed tormentous closed 1 week ago

tormentous commented 2 weeks ago

ssh tunnel dynamic port forwarding connected to 127.0.0.1:1080 but does not work, I use android build

2024-05-03 13:18:46.332 11679-11724 MyLog hev.sockstun E [2024-05-03 13:18:46] [E] 0x743a676850 socks5 session handshake 2024-05-03 13:18:46.485 11679-11718 MyLog hev.sockstun E [2024-05-03 13:18:46] [E] 0x743a676850 socks5 client res.rep 7

heiher commented 2 weeks ago

Does the socks5 server support udp?

tormentous commented 2 weeks ago

Yes. In here I can make an account

https://sshocean.com/ssh

heiher commented 1 week ago

ssh port forwarding only maps TCP port 1080, which does not make UDP available unless udp-relay-over-tcp is used, which requires hev-socks5-server.

tormentous commented 1 week ago

ssh port forwarding only maps TCP port 1080, which does not make UDP available unless udp-relay-over-tcp is used, which requires hev-socks5-server.

if I enable udp-relay-over-tcp, log shows the same and now "Unsupport Command"

resolved: hev-socks5-server needs to run first before port forwarder