diff options
author | Cedric Berger <cedric@cvs.openbsd.org> | 2003-02-26 14:10:33 +0000 |
---|---|---|
committer | Cedric Berger <cedric@cvs.openbsd.org> | 2003-02-26 14:10:33 +0000 |
commit | 21a1903466db237bd8b0fb5051bdc8130eab3740 (patch) | |
tree | e467f1053ec826e4012592c12d719d75abfba990 /regress/sbin/pfctl/pf17.in | |
parent | 7b62f10988d5e5e6f1d9c1cada9c2fe1f3072e4f (diff) |
As promised, a bunch of new valid binat tests.
Diffstat (limited to 'regress/sbin/pfctl/pf17.in')
-rw-r--r-- | regress/sbin/pfctl/pf17.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf17.in b/regress/sbin/pfctl/pf17.in index 9bd1072ddf0..c593d5f8b8e 100644 --- a/regress/sbin/pfctl/pf17.in +++ b/regress/sbin/pfctl/pf17.in @@ -15,3 +15,24 @@ binat on lo0 from 192.168.2.0/28 to any -> 10.0.4.0/28 binat on lo0 from 192.168.2.0/30 to 192.168.3.1 -> 10.0.3.0/30 binat on lo0 from 192.168.1.8 to ! 172.17.0.0/16 -> 10.0.0.8 + +binat on lo0 from 1.1.1.1 to no-route -> 2.2.2.2 +binat on lo0 from (lo0) to 1.1.1.1 -> 2.2.2.2 +binat on lo0 from (lo0) to 1.1.1.1 -> (lo1) +binat on lo0 inet from (lo0) to (lo1) -> (lo1) +binat on lo0 from 1.1.1.1 to <sometable> -> 2.2.2.2 +binat on lo0 from 1.1.1.1 to !<sometable> -> 2.2.2.2 +binat on lo0 from 1.1.1.1 to (lo1) -> 2.2.2.2 +binat on lo0 from 1.1.1.1 to !(lo1) -> 2.2.2.2 +binat on lo0 from (lo0) to <sometable> -> 2.2.2.2 + +binat on lo0 from ::1 to no-route -> ::2 +binat on lo0 from (lo0) to ::1 -> ::2 +binat on lo0 from (lo0) to ::1 -> (lo1) +binat on lo0 inet6 from (lo0) to (lo1) -> (lo1) +binat on lo0 from ::1 to <sometable> -> ::2 +binat on lo0 from ::1 to !<sometable> -> ::2 +binat on lo0 from ::1 to (lo1) -> ::2 +binat on lo0 from ::1 to !(lo1) -> ::2 +binat on lo0 from (lo0) to <sometable> -> ::2 + |