diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-09-18 12:25:15 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-09-18 12:25:15 +0000 |
commit | ff0052e8fdde56a8f3ff7aea6780720753503093 (patch) | |
tree | 863baf2a86bb6a2c72084b0a6eec036c92cc3ed6 /regress/sbin/pfctl/pf27.in | |
parent | 93ef497c5faacea7319fb74dbac021d25bed5cae (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.in | 17 |
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 |