Does Tectia Server have a GatewayPorts setting like sshd? I want to expose some forwarded ports externally.
From the sshd man page...
I'm trying to accomplish the above, but need some guidance with the correct settings.
The solution here is two fold.
1) On the remote client you have to specify the IP you want to want to bind if you omit this, regardless of what you have in the server config, the reverse tunnel command will always attempt to bind using localhost.
This client is making a reverse connection to the server in this case the servers public IP is 222.333.444.555 because no bind ip is specified, this command will always bind to localhost.
The above command will always bind to localhost on the server. The solution is this example... Here we are telling the client to bind to the servers local IP which is 192.168.50.10
2) On the server in config xml you can use the tunnel-remote rule to set the listen address and port.
alternatively you can set tunnel-remote to accept anything
or you can set tunnel-remote to accept a port range
Now employees in the same network as the ssh server can connect to the remote client using the ssh servers local IP like so
answered Aug 12 '15 at 23:07