go-gost / gost

GO Simple Tunnel - a simple tunnel written in golang
https://gost.run
MIT License
4.05k stars 495 forks source link

Help please. My PC -- Server Gost -- Mobile Shadowsocks #252

Closed bannyhm closed 1 year ago

bannyhm commented 1 year ago

Hello. I'm just learning. The task is to use mobile proxies to access the Internet. Connection diagram: My PC - Gost server - Mobile phone with shadowsocks. I manage to establish a connection between my PC and the Ghost server, but this connection does not pass through my mobile phone. I am installing "gost -L http://:8000 -F http://:8080 to the Gost server. And "gost -L http://:8080 " in shadowsocks on mobile. Please help me set up the connection scheme I need.

bannyhm commented 1 year ago

I am trying to access the Internet from computer "A" with the ip address of client gost "C" using proxy socks5 :9300:user:pass through the chain: Server gost "B" --> Client gost "C", but it turns out to access the Internet only with the ip address of Server gost "B". Where is the error in my command?

Ghost server "B": gost.exe -L socks5://user:pass@:9300/?bind=true&udp=true&ttl=60s

Ghost client "C": ./gost -L rudp://:2222/:22 -F socks5://user:pass@:9300?udp=true&ttl=60s