port forwarding tutorial ssh code example
Example 1: how to enable the port mapping to the SSH port windos
ssh -R remote_port:localhost:local_port ssh_server_hostname
Example 2: ssh tunnel port
ssh -L 80:intra.example.com:80 gw.example.com
ssh -R remote_port:localhost:local_port ssh_server_hostname
ssh -L 80:intra.example.com:80 gw.example.com