PDA

View Full Version : Verifying that IPtables is working



Chris
02-13-2005, 09:21 PM
I don't think IPtables is working right on one of my servers.

I did this:

/sbin/iptables -A INPUT -s 64.999.999.999 -j DROP

The ip address being the ip of another of my servers.

I then went to that server and used wget to try to access the server it should be blocked from, it wasn't blocked.

It seems to be running though (for all I know).

pas
02-16-2005, 01:02 AM
My rules have the -p flag:

-A INPUT -s 64.999.999.999 -p tcp -j DROP