xref: /freebsd/contrib/blocklist/etc/npf.conf (revision 5f4c09dd85bff675e0ca63c55ea3c517e0fddfcc)
1*5f4c09ddSEd Maste# Transparent firewall example for blacklistd
2*5f4c09ddSEd Maste
3*5f4c09ddSEd Maste$ext_if = "bnx0"
4*5f4c09ddSEd Maste
5*5f4c09ddSEd Masteset bpf.jit on;
6*5f4c09ddSEd Mastealg "icmp"
7*5f4c09ddSEd Maste
8*5f4c09ddSEd Mastegroup "external" on $ext_if {
9*5f4c09ddSEd Maste	ruleset "blacklistd"
10*5f4c09ddSEd Maste	pass final all
11*5f4c09ddSEd Maste}
12*5f4c09ddSEd Maste
13*5f4c09ddSEd Mastegroup default {
14*5f4c09ddSEd Maste	pass final all
15*5f4c09ddSEd Maste}
16