diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-09-02 17:25:47 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2009-09-02 17:25:47 +0000 |
commit | 2306892e8c735d33a8ee0268bfc4acd1ab4a3e46 (patch) | |
tree | f4dbb3f9054e23ecf74536ed3660b99690f53d6c /regress/sbin/pfctl/pf36.in | |
parent | f3f4171b947aff5ffb734c32a76ef3788bb4d0ea (diff) |
convert a bunch of rdr/nat rules to the new syntax
Things still need to be changed for route-to/binat/command line
options among other things.
ok henning
Diffstat (limited to 'regress/sbin/pfctl/pf36.in')
-rw-r--r-- | regress/sbin/pfctl/pf36.in | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/regress/sbin/pfctl/pf36.in b/regress/sbin/pfctl/pf36.in index 7071f843847..bc7d7c7b884 100644 --- a/regress/sbin/pfctl/pf36.in +++ b/regress/sbin/pfctl/pf36.in @@ -1,17 +1,17 @@ # test nat pools syntax -nat on lo0 from any to 127.0.0.1 -> { 127.0.0.1, 127.0.0.2 } -nat on lo0 from any to 127.0.0.1 -> { 127.0.0.1, 127.0.0.2 } round-robin -nat on lo0 from any to 127.0.0.1 -> lo0/24 bitmask static-port -nat on lo0 from any to 127.0.0.1 -> lo0/24 random -nat on lo0 from any to lo0 -> 127.0.0.1/24 source-hash 0x0123456789ABCDEF0123456789abcdef -nat on lo0 from any to 127.0.0.1 -> lo0/24 source-hash foobarlicious -nat on lo0 from any to 127.0.0.1 -> lo0/24 round-robin +match out on lo0 from any to 127.0.0.1 nat-to { 127.0.0.1, 127.0.0.2 } +match out on lo0 from any to 127.0.0.1 nat-to { 127.0.0.1, 127.0.0.2 } round-robin +match out on lo0 from any to 127.0.0.1 nat-to lo0/24 bitmask static-port +match out on lo0 from any to 127.0.0.1 nat-to lo0/24 random +match out on lo0 from any to lo0 nat-to 127.0.0.1/24 source-hash 0x0123456789ABCDEF0123456789abcdef +match out on lo0 from any to 127.0.0.1 nat-to lo0/24 source-hash foobarlicious +match out on lo0 from any to 127.0.0.1 nat-to lo0/24 round-robin -rdr on lo0 from any to lo0 -> { 127.0.0.1, 127.0.0.2 } -rdr on lo0 from any to lo0 -> { 127.0.0.1, 127.0.0.2 } round-robin -rdr on lo0 from any to lo0 -> 127.0.0.1/24 bitmask -rdr on lo0 from any to lo0 -> 127.0.0.1/24 random -rdr on lo0 from any to 127.0.0.1 -> lo0/24 source-hash 0x0123456789ABCDEF0123456789abcdef -rdr on lo0 from any to lo0 -> 127.0.0.1/24 source-hash foobarlicious -rdr on lo0 from any to lo0 -> 127.0.0.1/24 round-robin +match in on lo0 from any to lo0 rdr-to { 127.0.0.1, 127.0.0.2 } +match in on lo0 from any to lo0 rdr-to { 127.0.0.1, 127.0.0.2 } round-robin +match in on lo0 from any to lo0 rdr-to 127.0.0.1/24 bitmask +match in on lo0 from any to lo0 rdr-to 127.0.0.1/24 random +match in on lo0 from any to 127.0.0.1 rdr-to lo0/24 source-hash 0x0123456789ABCDEF0123456789abcdef +match in on lo0 from any to lo0 rdr-to 127.0.0.1/24 source-hash foobarlicious +match in on lo0 from any to lo0 rdr-to 127.0.0.1/24 round-robin |