kanotix.com

Networking - Forwarding port 80 to 192.168.1.64

apoptosis - 31.08.2006, 23:01 Uhr
Titel: Forwarding port 80 to 192.168.1.64
Im a newbie trying to setup a web server on the xbox version of dsl, connected via crossover cable to my kanotix workstation, thats connected to my modem. I have already setup ip masquerading, I think now I just need to forward port 80 to my xbox. I tried using these 2 command lines to do this, with no luck and have since removed them.

iptables -A PREROUTING -t nat -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.1.50:80
iptables -A INPUT -p tcp -m state --state NEW --dport 80 -i eth1 -j ACCEPT

Can anyone help me out?
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007