Simple firewall question: Blocking a handful of IPs

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Apr 27 17:23:11 UTC 2006


On 2006-04-27 17:53, RW <list-freebsd-2004 at morbius.sent.com> wrote:
>On Thursday 27 April 2006 03:10, fbsd wrote:
>>H. Wade Minter wrote:
>>> I want all traffic allowed unfettered, except traffic from
>>> particular IPs to be completely blocked coming in.
>>>
>>> Can someone show me which ipf rules to use to get that result?
>>
>>   block in quick on rl0 from x.x.x.x  to any
>
> Unless the syntax is the same, that looks more like pf than ipf.

The syntax *is* the same, in this case.  The only ipf syntax
feature that ipf users are likely to miss from pf syntax is the
use of rule `groups', but this is not used here.



More information about the freebsd-questions mailing list