summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-01-26 12:25:21 +0000
committermarkus <markus@openbsd.org>2003-01-26 12:25:21 +0000
commit0efc1eec4e8cfef48612255745cfea53be32f8a4 (patch)
tree32e7c96d0c3e861383be7e53d51ad242b5bb0fb9
parentStart on the harmony audio driver. It doesn't play or capture anything (diff)
downloadwireguard-openbsd-0efc1eec4e8cfef48612255745cfea53be32f8a4.tar.xz
wireguard-openbsd-0efc1eec4e8cfef48612255745cfea53be32f8a4.zip
add rdr test for port x:y -> port z
-rw-r--r--regress/sbin/pfctl/pf29.in1
-rw-r--r--regress/sbin/pfctl/pf29.ok1
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