why is iptables still filtering after i disable the firewall?

Tom H tomh0665 at gmail.com
Wed Sep 15 14:54:16 UTC 2010


On Wed, Sep 15, 2010 at 9:13 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
>  i suspect this is based on my unfamiliarity with the way ubuntu
> pre-10.10 deals with firewalls but i'm trying to simply ping from my
> ubuntu system to a centos 5.5 box on the same in-house wireless
> network and i'm getting icmp responses, "Destination Host
> Unreachable."  yet i can ping the other way (centos -> ubuntu).
>
>  i've completely disabled iptables on the centos system, and i want
> to do the same on ubuntu.  i installed gufw and i did what i thought
> disabled the firewall on the ubuntu box, yet when i run "sudo iptables
> -L", i'm still seeing some filtering:
>
> Chain FORWARD (policy ACCEPT)
> target     prot opt source               destination
> ACCEPT     all  --  anywhere             192.168.122.0/24    state
> RELATED,ESTABLISHED
> ACCEPT     all  --  192.168.122.0/24     anywhere
> ACCEPT     all  --  anywhere             anywhere
> REJECT     all  --  anywhere             anywhere
> reject-with icmp-port-unreachable
> REJECT     all  --  anywhere             anywhere
> reject-with icmp-port-unreachable
>
> and while the forwarding rules shouldn't affect this, how can i simply
> disable the firewall entirely?  if i invoke "gufw" and disable the
> firewall, shouldn't that do it?

How about "ufw reset" and/or "ufw disable"?




More information about the ubuntu-users mailing list