Did you, at any point, do an "iptables save"?

If so, you'll need to edit /etc/sysconfig/iptables, and comment out or 
remove the dnat rules, there.  Then, run "service iptables restart", which 
will cause iptables to reload the saved configuration.

Works well for me.

On Fri, 7 Dec 2001, Redhat mailing list wrote:

> 
> HI folks,
> 
> Im using iptables and successfully configured it to be my
> packet filtering firewall.  I've configured nat (DNAT) to forward http,
> smtp and dns request to servers inside my firewall.
> 
> However, I want to disable dnat for some reason.  But I can't disable it.
> I remove the dnat rules and re-run my "iptables script" to freshen the
> rules, there's a flush command of course.  Still it forwards the
> packets to the server under the firewall.
> 
> I even issued the command
> 
>       # iptables -F   -> this is the command to flush all rules, right?
> 
> 
> still dnat persists and i'm able to connect to the servers under my
> firewall.  There are no running services such as telnet, http, etc..
> in my firewall.
> 
> Is there a bug or did I missed something?  I'm using RedHat 7.2, with the
> default kernel.
> 
> many Thanks,
> carlo
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
> 



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to