summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf1.in
blob: 494eee3560fe2afa2cfb968b5e68c1ccf5bc56c6 (plain)
1
2
3
4
5
6
7
8
pass in all
pass in from any to any no state
pass in proto tcp from any port <= 1024 to any label foo_bar
pass in proto tcp from any to any port = 25
pass in proto tcp from 10.0.0.0/8 port > 1024 to ! 10.1.2.3 port != 22
pass in proto igmp from 10.0.0.0/8 to 10.1.1.1 allow-opts
pass in proto tcp from { 1.2.3.4, 1.2.3.5 } to any label \
"$nr:$proto:$srcaddr:$srcport:$dstaddr:$dstport"