securesocketfunneling / ssf

Secure Socket Funneling - Network tool and toolkit - TCP and UDP port forwarding, SOCKS proxy, remote shell, standalone and cross platform

Home Page:https://securesocketfunneling.github.io/ssf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Port Forwarding - Can't Change Listener

jasonmerc opened this issue · comments

In SSH, when forwarding ports, you could do something along the lines of ssh foo@bar -R [backslash star colon]8080:localhost:8080 to tell the listener to accept requests from 0.0.0.0 instead of just localhost. When I try this syntax in ssf, it throws a syntax error. When I try to enable gateway ports with -g, it still only has the listener on localhost.

I'd need the listener to be for everything in my setup. Basically, I'm trying to use ssf to connect a server to a "dumb machine" that has a public IP address, and then any requests made to that dumb machine with the public IP address would be forwarded back to the respective ports of the real server. Think a reverse tunnel that anyone could access, not just the machine with the public IP itself.

Is there a way to set the listener to be 0.0.0.0 instead of just localhost?

Closing issue, not sure what happened but I just typed everything in again and it worked. Maybe I miswrote something before. Disregard this Issue.