summaryrefslogtreecommitdiffstats
path: root/tests/py/ip/chains.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/ip/chains.t')
-rw-r--r--tests/py/ip/chains.t15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/py/ip/chains.t b/tests/py/ip/chains.t
new file mode 100644
index 00000000..8edf62b5
--- /dev/null
+++ b/tests/py/ip/chains.t
@@ -0,0 +1,15 @@
+*ip;test-ip4
+
+# filter chains available are: input, output, forward, prerouting, postrouting
+:filter-input;type filter hook input priority 0
+:filter-pre;type filter hook prerouting priority 0
+:filter-forw;type filter hook forward priority 0
+:filter-out;type filter hook output priority 0
+:filter-post;type filter hook postrouting priority 0
+# nat chains available are: input, output, prerouting, postrouting
+:nat-input-t;type nat hook input priority 0
+:nat-pre-t;type nat hook prerouting priority 0
+:nat-out-t;type nat hook output priority 0
+:nat-post-t;type nat hook postrouting priority 0
+# route chain available are: output
+:route-out-t;type route hook output priority 0