gostExample icon indicating copy to clipboard operation
gostExample copied to clipboard

udp over tcp

Open ali-frm opened this issue 2 years ago • 1 comments

hi can i udp over tcp tunneling with gost v3 ?

ali-frm avatar May 10 '23 14:05 ali-frm

socks5 support udp proxy.
see this link: https://unix.stackexchange.com/questions/732672/check-whether-socks5-proxy-server-support-udp gost support socks5.


gost document says it support udp over tcp. see this:
https://latest.gost.run/en/tutorials/port-forwarding/

gost -L=udp://:10053/192.168.1.1:53 -F socks5://192.168.1.2:1080

Map the local UDP port 10053 to port 53 of 192.168.1.1 through the forwarding chain.

Limitation

When forwarding chains are used in UDP local port forwarding, the last node at the end of the forwarding chain must be of the following type:

GOST HTTP proxy service and enable UDP forwarding function, using UDP-over-TCP method.

gost -L http://:8080?udp=true GOST SOCKS5 proxy service and enable UDP forwarding function, using UDP-over-TCP method.

gost -L socks5://:1080?udp=true Relay service, using UDP-over-TCP method. SSU service.

woodlyer avatar May 11 '23 02:05 woodlyer