Project

General

Profile

Download (336 Bytes) Statistics
| Branch: | Tag: | Revision:
1
#!/bin/sh
2

    
3
# Update bogons file
4
# Part of the pfSense project
5
# www.pfsense.com
6

    
7
/etc/rc.conf_mount_rw
8
/usr/bin/fetch -q -o /tmp/bogons "http://www.cymru.com/Documents/bogon-bn-nonagg.txt"
9
egrep -v "192.168.0.0/16|172.16.0.0/12|10.0.0.0/8" /tmp/bogons > /etc/bogons
10
/etc/rc.conf_mount_ro
11
/sbin/pfctl -t bogons -T replace -f /etc/bogons
(61-61/71)