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

Re: shutting out an IP



On Thu, Apr 29, 1999, Tamas TEVESZ wrote:
> On Wed, 28 Apr 1999, Paul Tod Rieger wrote:
> 
> ipfwadm -Ii -a reject -S whatevertheipwas/24
> or if you have 2.2, then 
> ipfwadm-wrapper ipfwadm -Ii -a reject -S whateveritwas/24
> sorry i don;t know ipchains :)

ipchains -I input -j DENY -s whatevertheipwas
or if you want the packets that match this rule to be logged :
ipchains -l -I input -j DENY -s whatevertheipwas

-- 
Michel Kaempf - maxx@via.ecp.fr


Reply to: