Robert Spangler on 7 Mar 2011 18:06:03 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] preventing access


On Monday 07 March 2011 18:26, the following was written:

>  iptables -A INPUT -s 91.201.66.76 -j DROP
>  service iptables save

-A adds the rule to the bottom of the chain.
What you want is -I to ad it to the top of the chain.

iptables -I INPUT -s 91.201.66.76 -j DROP


-- 

Regards
Robert

Linux
The adventure of a lifetime.

Linux User #296285
Get Counted
http://counter.li.org/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug