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

Re: syntax to drop a single address?



Dave Price écrivait :
> Hello,
> I am trying to find the iptables syntax to drop all traffic from a
> single address ... equivalent to 
> ipchains -I input -s nn.nn.nn.nnn  -j DENY -l

iptables -N LOGDROP
iptables -A LOGDROP -j LOG
iptables -A LOGDROP -j DROP

iptables -I input -s $BADIP -j LOGDROP

Regards, J.C.



Reply to: