[iptables] Forward http
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I just installed a new debian lenny server and now i am trying to
forward all http request from my old debian etch installation to the new
one. The statement i used was the following:
iptables -t nat -A PREROUTING -p tcp --dport http -j DNAT \
- --to-destination <ip>:80
iptables -t nat -L gives the following:
target prot opt source destination
DNAT tcp -- anywhere anywhere tcp dpt:www
to:<ip>:80
I'm not getting redirected when i try to access the server via a webbrowser.
greetings Mark Simkin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrLj1UACgkQz3kmR1vn367zYQCbBI2p5bCO0BziT/56rSEiQnBG
YPcAn3V8mjqSqz1Ub73cA2SBgtk3QhNR
=/oWV
-----END PGP SIGNATURE-----
Reply to: