diff options
Diffstat (limited to 'regress/sbin/pfctl/pf36.in')
-rw-r--r-- | regress/sbin/pfctl/pf36.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf36.in b/regress/sbin/pfctl/pf36.in new file mode 100644 index 00000000000..7739ec0209b --- /dev/null +++ b/regress/sbin/pfctl/pf36.in @@ -0,0 +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 +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 + +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 |