Port Forwarding via SSH

Associate
Joined
1 Aug 2003
Posts
1,053
I am using TightVNC regularly by local port forwarding via SSH, but am wondering whether the following is possible.

TightVNC Viewer runs a mini-webserver (default 5800), I want to get a server in one office to 'present' the web server port of a remote computer by tunneling through a remote server.... is this possible?
 
I tried that, but haven't been able to get that to work.

I was trying things along the lines of:

ssh -L *:80:192.168.0.55:8080 saucysusan.com

but that didn't seem to work.

p.s. I added this to the firewall
iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8080 -s 192.168.4.0/24 -j ACCEPT
 
Back
Top Bottom