xref: /freebsd/sbin/pfctl/tests/files/pf0013.in (revision b077aed33b7b6aefca7b17ddb250cf521f938613)
1pass in quick on enc0 from any to any
2pass in quick on enc0 inet from any to any
3pass in quick on enc0 inet6 from any to any
4
5#pass out quick on tun1000000 inet from any to any route-to tun1000001
6#pass out quick on tun1000000 from any to 192.168.1.1 route-to tun1000001
7#pass out quick on tun1000000 from any to fec0::1 route-to tun1000001
8
9#pass in on tun1000000 proto tcp from any to any port = 21 dup-to (tun1000001 192.168.1.1)
10#pass in on tun1000000 proto tcp from any to any port = 21 dup-to (tun1000001 fec0::1)
11
12#pass in quick on tun1000000 from 192.168.1.1/32 to 10.1.1.1/32 route-to tun1000001
13#pass in quick on tun1000000 from fec0::1/64 to fec1::2/128 route-to tun1000001
14
15#pass in on tun1000000 proto tcp from any to any port = 21 reply-to (tun1000001 192.168.1.1)
16#pass in on tun1000000 proto tcp from any to any port = 21 reply-to (tun1000001 fec0::1)
17
18#pass in quick on tun1000000 from 192.168.1.1/32 to 10.1.1.1/32 reply-to tun1000001
19#pass in quick on tun1000000 from fec0::1/64 to fec1::2/128 reply-to tun1000001
20
21#pass in quick on tun1000000 from 192.168.1.1/32 to 10.1.1.1/32 dup-to (tun1000001 192.168.1.100)
22#pass in quick on tun1000000 from fec0::1/64 to fec1::2/128 dup-to (tun1000001 fec1::2)
23