/ 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
We must have root credentials and sshd configured with: GatewayPorts yes
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ssh -R *:80:localhost:80 root@public-host-domain -v -N
URL: http://souptonuts.sourceforge.net/sshtips.htm