]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/pfctl/tests/files/pf0004.in
bc: upgrade to version 3.3.4
[FreeBSD/FreeBSD.git] / sbin / pfctl / tests / files / pf0004.in
1 block in all
2 block in proto tcp all
3 block in proto { tcp, udp } all
4
5 block in from any to any
6 block in from 10.0.0.0/8 to any
7 block in from ! 10.0.0.0/8 to any
8 block in from { 10.0.0.0/8, 172.16.0.0/12 } to any
9
10 block in proto tcp from any port = ssh to any
11 block in proto tcp from any port { ssh, ftp >< 2048, != 1234, >= www } \
12         to any port 1024:2048
13
14 block in proto { tcp, udp } from { 10.0.0.0/8, 172.16.0.0/12 } port { ssh, ftp } \
15         to { 192.168.0.0/16, 12.34.56.78 } port { 6667, 6668, 6669:65535 }
16