summaryrefslogtreecommitdiff
path: root/rc.firewall/firewall/up
diff options
context:
space:
mode:
Diffstat (limited to 'rc.firewall/firewall/up')
-rw-r--r--rc.firewall/firewall/up11
1 files changed, 11 insertions, 0 deletions
diff --git a/rc.firewall/firewall/up b/rc.firewall/firewall/up
new file mode 100644
index 0000000..2d62e8d
--- /dev/null
+++ b/rc.firewall/firewall/up
@@ -0,0 +1,11 @@
+####################################################################
+# Run the rc.firewall script #
+# #
+# See the HOWTOs on http://www.netfilter.org/ for documentation on #
+# setting up a firewall or NAT on Linux #
+####################################################################
+
+# Prepend every output with the service's name
+pipeline -w { sed -u "s/^/firewall: /" }
+fdmove -c 2 1
+nft -f /etc/nftables/conf.nft