summaryrefslogtreecommitdiff
path: root/etc/npf.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/npf.conf')
-rw-r--r--etc/npf.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/npf.conf b/etc/npf.conf
new file mode 100644
index 000000000000..42d56044ad6e
--- /dev/null
+++ b/etc/npf.conf
@@ -0,0 +1,15 @@
+# Transparent firewall example for blacklistd
+
+$ext_if = "bnx0"
+
+set bpf.jit on;
+alg "icmp"
+
+group "external" on $ext_if {
+ ruleset "blacklistd"
+ pass final all
+}
+
+group default {
+ pass final all
+}