[CentOS] local port redirect not working on Centos4
Francois Caen
frcaen at gmail.comSat Feb 4 06:35:43 UTC 2006
- Previous message: [CentOS] Recommendations for securing a webserver
- Next message: [CentOS] local port redirect not working on Centos4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I want to redirect one local port to another. I am using the following: iptables -t nat -A PREROUTING -p tcp --dport 7003 -j REDIRECT --to-ports 80 and testing it by telneting to localhost on port 7003. It works on Centos3, not on Centos4. No luck with this either: iptables -t nat -A PREROUTING -p tcp --dport 7002 -j DNAT --to 127.0.0.1:80 Am I doing something wrong? Or did something change in 2.6? Tried googling this, no luck. Thanks, -- Francois Caen, RHCE, CCNA SpiderMaker, LLC
- Previous message: [CentOS] Recommendations for securing a webserver
- Next message: [CentOS] local port redirect not working on Centos4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list