summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf27.in
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/pfctl/pf27.in')
-rw-r--r--regress/sbin/pfctl/pf27.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf27.in b/regress/sbin/pfctl/pf27.in
new file mode 100644
index 00000000000..5b57cbaf8e0
--- /dev/null
+++ b/regress/sbin/pfctl/pf27.in
@@ -0,0 +1,17 @@
+# test af detection logic
+
+nat on lo0 from any to 127.0.0.1 -> lo0
+nat on lo0 from 127.0.0.1 to any -> lo0
+nat on lo0 from any to lo0 -> 127.0.0.1
+
+nat on lo0 from any to 127.0.0.1 -> (lo0)
+nat on lo0 from 127.0.0.1 to any -> (lo0)
+nat on lo0 from any to (lo0) -> 127.0.0.1
+
+rdr on lo0 from any to 127.0.0.1 -> lo0
+rdr on lo0 from 127.0.0.1 to any -> lo0
+rdr on lo0 from any to lo0 -> 127.0.0.1
+
+rdr on lo0 from any to 127.0.0.1 -> (lo0)
+rdr on lo0 from 127.0.0.1 to any -> (lo0)
+rdr on lo0 from any to (lo0) -> 127.0.0.1