HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   DROP all -- localhost/8 anywhere (http://www.howtoforge.com/forums/showthread.php?t=60438)

PermaNoob 4th February 2013 21:24

DROP all -- localhost/8 anywhere
 
I can't figure out why this is in iptables:
DROP all -- localhost/8 anywhere

and when I try to remove it, I get:

server:~# iptables -D INPUT -s localhost/8 -j DROP
iptables: Bad rule (does a matching rule exist in that chain?)

Server is working ok, as far as I can tell.

pititis 4th February 2013 23:45

List the chain and then remove it:

Code:

iptables -L INPUT -n --line-numbers
Code:

iptables -D INPUT x
where x is the number for the rule.

Cheers


All times are GMT +2. The time now is 18:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.