From 33b0aaaf67c75ef3528285b8466657e39b03ed09 Mon Sep 17 00:00:00 2001 From: jasoni Date: Mon, 26 Nov 2001 16:53:28 +0000 Subject: add tests for fastroute options --- regress/sbin/pfctl/pf13.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 regress/sbin/pfctl/pf13.in (limited to 'regress/sbin/pfctl/pf13.in') 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 -- cgit v1.2.3