summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf13.in
diff options
context:
space:
mode:
authorjasoni <jasoni@cvs.openbsd.org>2001-11-26 16:53:28 +0000
committerjasoni <jasoni@cvs.openbsd.org>2001-11-26 16:53:28 +0000
commit33b0aaaf67c75ef3528285b8466657e39b03ed09 (patch)
tree26db17c94960bacb81a43751142f4d1a9cd3ff87 /regress/sbin/pfctl/pf13.in
parentcb78ac1fa03ec7031b5ea7554a93f69bc207077f (diff)
add tests for fastroute options
Diffstat (limited to 'regress/sbin/pfctl/pf13.in')
-rw-r--r--regress/sbin/pfctl/pf13.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/sbin/pfctl/pf13.in b/regress/sbin/pfctl/pf13.in
new file mode 100644
index 00000000000..0c69676387c
--- /dev/null
+++ b/regress/sbin/pfctl/pf13.in
@@ -0,0 +1,16 @@
+pass in quick on enc0 fastroute all
+pass in quick on enc0 fastroute inet all
+pass in quick on enc0 fastroute inet6 all
+
+pass out quick on tun0 route-to tun1 all
+pass out quick on tun0 route-to tun1 from any to 192.168.1.1
+pass out quick on tun0 route-to tun1 from any to fec0::1
+
+block in on tun0 dup-to tun1:192.168.1.1 proto tcp from any to any port = 21
+block in on tun0 dup-to tun1:fec0::1 proto tcp from any to any port = 21
+
+pass in quick on tun0 route-to tun1 from 192.168.1.1/32 to 10.1.1.1/32
+pass in quick on tun0 route-to tun1 from fec0::1/64 to fec1::2/128
+
+pass in quick on tun0 dup-to tun1:192.168.1.100 from 192.168.1.1/32 to 10.1.1.1/32
+pass in quick on tun0 dup-to tun1:fec1::2 from fec0::1/64 to fec1::2/128