summaryrefslogtreecommitdiffstats
path: root/files/nftables/ipv4-mangle
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-03-18 04:55:00 +0100
committerPatrick McHardy <kaber@trash.net>2009-03-18 04:55:00 +0100
commitfac10ea799fe9b6158d74f66d6ad46536d38a545 (patch)
tree8c093bcbb2144aab54c70103e6ed438456ae0d48 /files/nftables/ipv4-mangle
Initial commitv0.01-alpha1
Diffstat (limited to 'files/nftables/ipv4-mangle')
-rw-r--r--files/nftables/ipv4-mangle9
1 files changed, 9 insertions, 0 deletions
diff --git a/files/nftables/ipv4-mangle b/files/nftables/ipv4-mangle
new file mode 100644
index 00000000..339cacea
--- /dev/null
+++ b/files/nftables/ipv4-mangle
@@ -0,0 +1,9 @@
+#! nft -f
+
+table mangle {
+ chain prerouting { hook NF_INET_PRE_ROUTING -150; }
+ chain input { hook NF_INET_LOCAL_IN -150; }
+ chain forward { hook NF_INET_FORWARD -150; }
+ chain output { hook NF_INET_LOCAL_OUT -150; }
+ chain postrouting { hook NF_INET_POST_ROUTING -150; }
+}