IPFW deny ip range
Lowell Gilbert
freebsd-questions-local at be-well.ilk.org
Sat Jan 23 01:48:36 UTC 2016
JosC <bsduser at cloudzeeland.nl> writes:
> 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?
If you're using ipfw, putting those things in a table and blocking from
the table is the way to do this. The stock /etc/rc.firewall uses at
least one table, so you can look at that as an example.
I've never heard of ipfw.rules, though, so you may be a little confused.
More information about the freebsd-questions
mailing list