SSH
SSH PortForwarding
Section titled “SSH PortForwarding”Enable IP PortForwarding
Section titled “Enable IP PortForwarding”sysctl net.ipv4.ip_forward=1OpenSSH ProxyCommand
Section titled “OpenSSH ProxyCommand”Host hostname_a User user Hostname 123.123.123.123
Host hostname_b User user Hostname 12.13.13.1 Port 2222 ProxyCommand ssh -q -W %h:%p hostname_a