summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf27.in
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-09-18 12:25:15 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-09-18 12:25:15 +0000
commitff0052e8fdde56a8f3ff7aea6780720753503093 (patch)
tree863baf2a86bb6a2c72084b0a6eec036c92cc3ed6 /regress/sbin/pfctl/pf27.in
parent93ef497c5faacea7319fb74dbac021d25bed5cae (diff)
test af detection logic in nat and rdr rules
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