Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2016 17:36:12 -0500
From:      "William F. Dudley Jr." <wfdudley@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: IPFW deny ip range
Message-ID:  <56A2AEDC.2040204@gmail.com>
In-Reply-To: <56A2A4F5.3030907@cloudzeeland.nl>
References:  <56A2A4F5.3030907@cloudzeeland.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
block in quick on bge0 from 123.0.0.0/8 to any

block in quick on bge0 from 123.1.0.0/16 to any

etc.

replace bge0 with whatever interface your traffic is coming in on.

Bill Dudley

On 01/22/2016 04:53 PM, JosC wrote:
> I have this ip range that I would like to block (example ip):
>
> 123.xx.xx.xx
> 123.1.xx.xx
> 123.1.1.xx
>
> Can someone tell me how I can define best in ipfw.rules?
>
> Thanks,
> Jos Chrispijn
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56A2AEDC.2040204>