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

Specify port on config file

StayPirate opened this issue · comments

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