Skip to content

SSH

sysctl net.ipv4.ip_forward=1
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