securesocketfunneling / ssf

Secure Socket Funneling - Network tool and toolkit - TCP and UDP port forwarding, SOCKS proxy, remote shell, standalone and cross platform
https://securesocketfunneling.github.io/ssf/
Other
1.59k stars 234 forks source link

Specify port on config file #57

Open StayPirate opened 6 years ago

StayPirate commented 6 years ago

Hi All,

I want to write a config file for my client. I just need to encode the options:

./ssf -U 53:127.0.0.1:53 -p 443 ..81.45

In the appropriate config file, but I don't understand how to do. I just understood that because this is the client I just need datagram_listener and not datagram_forwarder, but how can I specify the local port, the remote port, and the IP where to bind it? I guess it should be something like this:

"services": { "datagram_forwarder": { "enable": false}, "datagram_listener": { "enable": true, "gateway_ports": false } }

Thanks