I just upgraded from RH 6.2 to 7.2 and I'm as confused at everyone else about the new iptables.
What I'm looking for is a NAT/router box. I have the NAT portion working now - my linux box is the default gateway for most of my network. WHat I'm having problems with is the router part. I'd like it to forward certain ports to different parts of the network. I've read this howto:
, but I can't seem to get anywhere.
I ran this:
iptables -t nat -A PREROUTING -p tcp --dport 80 -i ppp0 -j DNAT --to 192.168.0.1:80
and from what I understand this should forward any requests from my dsl connection (ppp0) to my web server 192.168.0.1. I'm not getting any response when I go outside and try to hit that IP. Does anyone have any ideas?