Best Way To Block Range of Addresses with ipfw2?
cswiger at mac.com
Wed Feb 8 15:11:04 PST 2006
Drew Tomlinson wrote:
> I want to deny access to addresses in this range:
> 126.96.36.199 - 188.8.131.52
> What is the best way to specify this range for ipfw2? There must be a
> better way than listing a whole bunch of individual networks.
deny ip from 184.108.40.206/13 to any
...comes pretty close. Use finer-grained allow rule before that if you need to
pass stuff in 220.127.116.11/16, for example.
More information about the freebsd-questions