matt
Jun 14 2005, 07:23 AM
Hey everyone. I need to access my webserver from class. At class I have putty all set up to go through the proxy. But on my end I need to forward 443 (router - 192.168.1.1) to 22 (server - 192.168.1.111) . My linksys router dont support forwarding by default but I have a firmware upgrade for the linux os thats on it. Now I just need to know the iptables command to do it. Any sugestions or help?
Corey
Jun 14 2005, 07:42 AM
Does rob know you're doing this?
Corey
Jun 14 2005, 07:47 AM
Check out IPtables in the wiki:
http://wiki.linuxhelp.net/index.php/IPtablesThere is also a firewall script there that Joey made, you can read through and get an idea on how it all works, it's pretty well commented. Specifically look at the lines that forward ports 25/53 to get an idea on how to redirect 443->22