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 -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 -j DROP



The adventure of a lifetime.

Linux User #296285
Get Counted
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --