summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf13.in
blob: 0c69676387c75597f3cd7cf48630657179726dea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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