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

Need help with forwarding SOCKS5 TCP/UDP to VPS #421

Open
GektorUA opened this issue Mar 7, 2024 · 3 comments
Open

Need help with forwarding SOCKS5 TCP/UDP to VPS #421

GektorUA opened this issue Mar 7, 2024 · 3 comments

Comments

@GektorUA
Copy link

GektorUA commented Mar 7, 2024

I have local PC (linux based) behind NAT and without static IP. On this local PC was launched SOCKS5 server (TCP+UDP), for example — 0.0.0.0:8080 (in local lan SOCKS5 port is working, TCP+UDP traffic is present).

I am need to forward this port on public VPS server so that TCP+UDP was working as in local lan. I have understand how to do it if SOCKS5 server have static IP (for example, if setup some type of VPN to the VPS from local PC), but it's not clear for me, how i can do it without VPN, if SOCKS5 server have no any static IP?

@egg1234
Copy link

egg1234 commented Mar 9, 2024

You can refer to the following link to find out how to use the "Reverse Proxy" or "Remote Port Forwarding" feature to resovle your request.

https://gost.run/en/tutorials/reverse-proxy/

@GektorUA
Copy link
Author

GektorUA commented Mar 9, 2024

https://gost.run/en/tutorials/reverse-proxy/

There is nothing about how to do reverse SOCKS5 with UDP...

@uuonda
Copy link

uuonda commented May 12, 2024

@ginuerzh How do I achieve reverse Socks proxy over WS/Socks/Relay+TLS connection with gost?

I want a client to act as a proxy for the server over established client->server connection which must expose a Socks service on the server. I've read the docs for reverse proxy tunnels and I still don't know if that's even possible without running multiple instances.

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

3 participants