summaryrefslogtreecommitdiff
path: root/fw/lib/fw.ndb
diff options
context:
space:
mode:
Diffstat (limited to 'fw/lib/fw.ndb')
-rw-r--r--fw/lib/fw.ndb13
1 files changed, 13 insertions, 0 deletions
diff --git a/fw/lib/fw.ndb b/fw/lib/fw.ndb
new file mode 100644
index 0000000..0292f53
--- /dev/null
+++ b/fw/lib/fw.ndb
@@ -0,0 +1,13 @@
+#
+# Which cards are firewalled, and with what. Read by fwstart(8) at
+# boot. The address is not named here: fw reads it from the card it
+# takes over, so this file and ipconfig(8) cannot drift apart.
+#
+# One entry per card. Everything the card sends or receives is
+# filtered; see fwrules(6) for the rule files themselves.
+#
+
+fw=ether0 rules=/lib/fw/host.ndb
+
+# a second card, if this machine has one
+#fw=ether1 rules=/lib/fw/lan.ndb