diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-06-11 05:11:28 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-06-11 05:11:28 +0000 |
commit | 31bc947140c2f147b8aeacf458ee7e945247755c (patch) | |
tree | c7b8d4c6d3d0f09342cf12157a6b8b83b173a584 /regress | |
parent | 00f0d68136b1e890befc8718a5c109561ede3567 (diff) |
regression test for NATing to dynamic addresses ( nat ... -> (if) )
ok dhartmei@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/sbin/pfctl/pf18.in | 2 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf18.ok | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf18.in b/regress/sbin/pfctl/pf18.in index 1b4a567ca28..49e8708765b 100644 --- a/regress/sbin/pfctl/pf18.in +++ b/regress/sbin/pfctl/pf18.in @@ -11,4 +11,6 @@ nat on lo0 proto icmp from 192.168.1.4 to any -> 10.0.0.4 nat on lo0 from $TEST_LIST1 to $TEST_LIST2 -> lo0 +nat on lo0 inet from 192.168.0.1/24 to any -> (lo0) + nat on lo0 from 192.168.1.8 to ! 172.17.0.0/16 -> 10.0.0.8 diff --git a/regress/sbin/pfctl/pf18.ok b/regress/sbin/pfctl/pf18.ok index 3350699b4a2..b29d0497a3a 100644 --- a/regress/sbin/pfctl/pf18.ok +++ b/regress/sbin/pfctl/pf18.ok @@ -14,4 +14,5 @@ nat on lo0 inet from 192.168.1.6 to 172.6.1.1 -> 127.0.0.1 nat on lo0 inet from 192.168.1.5 to 172.16.2.0/24 -> 127.0.0.1 nat on lo0 inet from 192.168.1.5 to 172.14.1.2 -> 127.0.0.1 nat on lo0 inet from 192.168.1.5 to 172.6.1.1 -> 127.0.0.1 +nat on lo0 inet from 192.168.0.1/24 to any -> (lo0) nat on lo0 inet from 192.168.1.8 to ! 172.17.0.0/16 -> 10.0.0.8 |