ginuerzh / gost

GO Simple Tunnel - a simple tunnel written in golang
MIT License
15.45k stars 2.42k forks source link

Can't connect socks5 from Adguard #993

Closed hhsnake closed 6 months ago

hhsnake commented 6 months ago

Hello. I launched a gost: ./gost -L http://:8080 -L socks5://:1080

Then downloaded the latest version of AdGuard for Android. In the settings I installed a server with gost socks5 configured.

I'm trying to connect, in the logs gost: {"handler":"socks5","kind":"handler","level":"info","listener":"tcp","local":"192.168.0.86:1080","msg":"192.168.0.124:40168 <> 192.168.0.86:1080","remote":"192.168.0.124:40168","service":"service-1","time":"2023-12-04T19:19:54.304+03:00"} {"handler":"socks5","kind":"handler","level":"error","listener":"tcp","local":"192.168.0.86:1080","msg":"tls: first record does not look like a TLS handshake","remote":"192.168.0.124:40168","service":"service-1","time":"2023-12-04T19:19:55.316+03:00"}

Firefox works fine via gost as sock5

Could you tell me what options can be configured?

hhsnake commented 6 months ago

option notls=true has success

hhsnake commented 6 months ago

.