Posted By

wnasich on 08/17/11


ssh port forwarding tunnel

Versions (?)

Remote port forwarding with ssh/putty

 / Published in: Bash


This allow serve web pages to internet behind a firewall, using a linux server with a public IP address running sshd. We must have root credentials and sshd configured with: GatewayPorts yes

  1. ssh -R *:80:localhost:80 root@public-host-domain -v -N

Report this snippet  

You need to login to post a comment.