[sclug] Irritating networking problem

Simon Huggins huggie at earth.li
Tue Sep 4 17:05:54 UTC 2007

On Tue, Sep 04, 2007 at 10:16:26AM +0100, David Given wrote:
> But when I actually try to *use* it, I just get:

> PING ( 56(84) bytes of data.
> ping: sendmsg: Operation not permitted

> ...which is not something that I've ever seen before.

> Investigation reveals that if I reboot the machine, it starts working,
> but stops again if I change the IP address. This appears to point to
> firewalling issues, and Ubuntu has, indeed, installed a bunch of
> iptables rules without me asking it to.

> Does this seem like a reasonable conclusion? Given that I already have a
> perfectly good real firewall attached to my server, does anyone know how to
> turn *off* a Linux firewall? Completely? Would this help?

Well iptables -L will show you what it's done and you might be better
off fixing the firewall than removing it entirely.

Anyway if you really do want to you should change the default policy to
ACCEPT and remove all the rules something like:
iptables -P INPUT ACCEPT
iptables -F
iptables -X

Have a look at the manpage to work out what it does.

----------(   "Clear?" - Holly. "No." - Lister. "Tough." -   )----------
Simon ----(                      Holly.                      )---- Nomis
                             Htag.pl 0.0.22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.sclug.org.uk/pipermail/sclug/attachments/20070904/e0ae9017/attachment.bin 

More information about the Sclug mailing list