SSH port forwarding
I want to get to a linux box that is behind my linux firewall, but I can't address the internal machine directly. I know it's possible to use SSH to port forward. I want the connection from the external machine to linux firewall to be encrypted, after that it doesn't need to be encrypted. I was wondering what command could do this?
--tarballedtux |
well, i don't know if this is what you're looking for. but i have a linux firewall running iptables, which simply forwards port 22 to whichever box i specify. the command looks something like this:
/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 22 -j DNAT --to 192.168.1.0:22 hope this helps. :-) |
Thats all well and good but unfortunately I do not run iptables. (I find ipchains hard enough as it is.) Mostly because I don't feel like updating. Thanks for your reply though.
Can anyone help me accomplish my goal using SSH. |
All times are GMT -5. The time now is 11:49 AM. |