January 5, 2012

How to enable port forwarding in openssh

How to enable port forwarding in openssh? Add the following lines to the /etc/sshd_conf file to enable port forwarding and GatewayPort. This will allow you to map ports to other boxes within your private network.


AllowTcpForwarding yes
GatewayPorts yes

No comments: