go-gost / gost

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

怎么禁用sock5的udp over tcp? #471

Closed PHCSJC closed 4 months ago

PHCSJC commented 6 months ago

想要使用标准的udp sock5代理,但gost会把udp先转成tcp,请问怎么禁用udp over tcp呢?

ginuerzh commented 6 months ago

可以添加relay=udp选项试试

-F socks://:1080?relay=udp
scruel commented 6 months ago

@ginuerzh 貌似不行: gost -L :1080?relay=udp 这样后还是 socks5: UDP relay is disabled

ginuerzh commented 6 months ago

要加在客户端上。