Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple port forwarding #3

Open
omid-j-d opened this issue Apr 7, 2023 · 1 comment
Open

Multiple port forwarding #3

omid-j-d opened this issue Apr 7, 2023 · 1 comment

Comments

@omid-j-d
Copy link

omid-j-d commented Apr 7, 2023

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

@woodlyer
Copy link
Owner

woodlyer commented Apr 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants