gostExample icon indicating copy to clipboard operation
gostExample copied to clipboard

Multiple port forwarding

Open omid-j-d opened this issue 2 years ago • 1 comments

I wanted to do port forwarding from an X server to a Y and Z server. I create a service and run gost and I use this command, now how to add another server?

gost -L=tcp://:8080 -F forward+tls://1.1.1.1:8443

omid-j-d avatar Apr 07 '23 19:04 omid-j-d

I didn't test .
You can try this. forward :1080 to server_Z:1080

X:       gost -L tls://:8443
Y:       gost -L kcp://:8443
Z:       gost -L tls://:8443

client:
         gost -L=tcp://:1080/:1080  -F=forward+tls://server_X:8443 -F=forward+kcp://server_Y:8443 -F=forward+tls://server_Z:8443

image from this page. https://github.com/ginuerzh/gost image

woodlyer avatar Apr 10 '23 12:04 woodlyer