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

Remote UDP port forwarding syntax? #86

Open
slannon97 opened this issue May 8, 2020 · 2 comments
Open

Remote UDP port forwarding syntax? #86

slannon97 opened this issue May 8, 2020 · 2 comments

Comments

@slannon97
Copy link

I am attempting to use SSF to establish a remote port forward from my Linux VPS to my Windows computer. I would like to forward incoming traffic from UDP 9995 on my VPS to the same port on my local computer to host a server for an online game. Unfortunately, I cannot figure out the command line syntax to set this up.

First, I ran the Linux version of SSF. I used "./ssfd -p 9995" and allowed incoming traffic from port 9995 on my VPS firewall.
Next, I tried the following command in the Windows command line, replacing example.com with the domain name of my VPS. "ssf -U example.com:9995:127.0.0.1:9995" Unfortunately, this gives me an error message. What am I doing wrong? What is the correct syntax to establish this remote port forward rule for UDP port 9995?

@moztemur
Copy link

If you are still interested;

You should run the following on the remote Linux server:

./ssfd -g

The client command for remote UPD Port forwarding should be like that:

./ssf -g -V x.x.x.x: 9995:127.0.0.1:9995 x.x.x.x

where x.x.x.x is the remote server IP.

@jasonmerc
Copy link

On version 3 of ssf (maybe old versions) -V and -U doesn't work. In the logs, instead of forwarding the port you specify, it forwards 65536 + the number you specified. For example, specifying 10000 wouldn't forward 10000, it would forward 75536.

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