ssh port forwarding
here it goes:
I have a host1 behind firewalla and host2 in the internet I need that host2 port 80 would resend data tu host1 port 80 so from host1 I run : ssh -N -C -R 80:host1:80 root@host2 everything works fine in host2 when trying to connect to localhost:80 but ssh does not make socket to listen host2 external ( internet ) IP ? anyone has any ideas how to do that? p.s. sorry for my english |
you should do something like
Code:
ssh -N -C -R *:80:host1:80 root@host2 |
Look up -g key.
|
thanks, everything looks fine now!
|
All times are GMT -5. The time now is 08:33 PM. |