diff options
-rw-r--r-- | regress/sbin/pfctl/pf18.in | 4 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf18.ok | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf18.in b/regress/sbin/pfctl/pf18.in index 629f18ea319..c6981f8d85a 100644 --- a/regress/sbin/pfctl/pf18.in +++ b/regress/sbin/pfctl/pf18.in @@ -14,3 +14,7 @@ nat on lo0 inet 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 + +nat on ! lo0 proto { udp, tcp } from any to any -> 10.0.0.8 + +nat on { lo0, tun0 } from any to any -> 10.0.0.8 diff --git a/regress/sbin/pfctl/pf18.ok b/regress/sbin/pfctl/pf18.ok index b29d0497a3a..5ce88f81143 100644 --- a/regress/sbin/pfctl/pf18.ok +++ b/regress/sbin/pfctl/pf18.ok @@ -16,3 +16,7 @@ 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 +nat on ! lo0 inet proto tcp all -> 10.0.0.8 +nat on ! lo0 inet proto udp all -> 10.0.0.8 +nat on tun0 inet all -> 10.0.0.8 +nat on lo0 inet all -> 10.0.0.8 |