Autor |
Nachricht |
|
Titel: Forwarding port 80 to 192.168.1.64
Verfasst am: 31.08.2006, 23:01 Uhr
|
|
Anmeldung: 30. Aug 2006
Beiträge: 3
|
|
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? |
|
|
|
|
 |
|
|
|