summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pfopt5.ok
blob: b3c26d3332f830b76a04c6e11e0b24b93542f059 (plain)
1
2
3
4
5
6
7
8
9
10
11
ext_if = "lo0"
set limit states 100
set block-policy drop
set require-order yes
match in on lo0 inet all rdr-to 127.0.0.1
match out on lo0 inet all nat-to 127.0.0.1
match out on lo0 inet from 192.168.0.0/24 to 192.168.0.0/24 nat-to 192.168.0.0/24 static-port
match in on lo0 inet from 192.168.0.0/24 to 192.168.0.0/24 rdr-to 192.168.0.0/24
pass out on lo0 proto tcp from any to any port = ssh flags S/SA keep state queue(pri-med, pri-high)
pass out on lo0 proto tcp from any to any port = www flags S/SA keep state queue pri-med
pass in on lo0 proto tcp from any to any port = www flags S/SA keep state queue pri-low