diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2003-01-26 12:25:22 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2003-01-26 12:25:22 +0000 |
commit | 2898e12e0690e1ce710836931d324834318914a8 (patch) | |
tree | 784e2f9f5df07a555b1536e1ffdde0393562abb9 /regress/sbin | |
parent | 2d1f7a35025ab0a780176944d2b8a2f2caad5093 (diff) |
add rdr test for port x:y -> port z
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/pfctl/pf29.in | 1 | ||||
-rw-r--r-- | regress/sbin/pfctl/pf29.ok | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf29.in b/regress/sbin/pfctl/pf29.in index e34b65a9b46..a76a30ab6bb 100644 --- a/regress/sbin/pfctl/pf29.in +++ b/regress/sbin/pfctl/pf29.in @@ -1,2 +1,3 @@ rdr on lo0 proto tcp from any to 192.168.0.0/24 port 8000:8010 -> 127.0.0.1 port 8000:* rdr on lo0 proto tcp from any to 192.168.0.0/24 port ftp:ssh -> 127.0.0.1 port bgp:* +rdr on lo0 proto tcp from any to 192.168.0.0/24 port 1000:3000 -> 127.0.0.1 port 22 diff --git a/regress/sbin/pfctl/pf29.ok b/regress/sbin/pfctl/pf29.ok index c3f9d8032a6..c84d06984ff 100644 --- a/regress/sbin/pfctl/pf29.ok +++ b/regress/sbin/pfctl/pf29.ok @@ -1,2 +1,3 @@ rdr on lo0 inet proto tcp from any to 192.168.0.0/24 port 8000:8010 -> 127.0.0.1 port 8000:8010 rdr on lo0 inet proto tcp from any to 192.168.0.0/24 port 21:22 -> 127.0.0.1 port 179:180 +rdr on lo0 inet proto tcp from any to 192.168.0.0/24 port 1000:3000 -> 127.0.0.1 port 22 |