diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2002-06-11 02:16:31 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2002-06-11 02:16:31 +0000 |
commit | 09dfe6b2f21192026183f678eb93a83ab47f10dd (patch) | |
tree | 328d584b172760b7da4a86cc49b51915e918286e /regress/sbin/pfctl/pf19.ok | |
parent | a74d174ebe7d9d4fe9d2e8e044766a2230f8db17 (diff) |
Use merged config file format. The separate NAT loop can go away,
since all files are now loaded the same way. Add regress tests for
invalid ordering of scrub, nat, filter rules
Diffstat (limited to 'regress/sbin/pfctl/pf19.ok')
-rw-r--r-- | regress/sbin/pfctl/pf19.ok | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf19.ok b/regress/sbin/pfctl/pf19.ok new file mode 100644 index 00000000000..206b7492f33 --- /dev/null +++ b/regress/sbin/pfctl/pf19.ok @@ -0,0 +1,13 @@ +EVIL = lo0 +GOOD = { lo0, lo1 } +GOOD_NET = { 127.0.0.0/24, 10.0.1.0/24 } +DEST_NET = { 1.2.3.4/25, 2.4.6.8/30 } +rdr on lo0 inet proto tcp from any to 1.2.3.4 port 2222 -> 10.0.0.10 port 22 +rdr on lo1 inet proto tcp from 10.0.1.0/24 to 2.4.6.8/30 port 21 -> 127.0.0.1 port 8021 +rdr on lo1 inet proto tcp from 10.0.1.0/24 to 1.2.3.4/25 port 21 -> 127.0.0.1 port 8021 +rdr on lo1 inet proto tcp from 127.0.0.0/24 to 2.4.6.8/30 port 21 -> 127.0.0.1 port 8021 +rdr on lo1 inet proto tcp from 127.0.0.0/24 to 1.2.3.4/25 port 21 -> 127.0.0.1 port 8021 +rdr on lo0 inet proto tcp from 10.0.1.0/24 to 2.4.6.8/30 port 21 -> 127.0.0.1 port 8021 +rdr on lo0 inet proto tcp from 10.0.1.0/24 to 1.2.3.4/25 port 21 -> 127.0.0.1 port 8021 +rdr on lo0 inet proto tcp from 127.0.0.0/24 to 2.4.6.8/30 port 21 -> 127.0.0.1 port 8021 +rdr on lo0 inet proto tcp from 127.0.0.0/24 to 1.2.3.4/25 port 21 -> 127.0.0.1 port 8021 |