]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/pfctl/tests/files/pf0084.in
MFV: r367652
[FreeBSD/FreeBSD.git] / sbin / pfctl / tests / files / pf0084.in
1 #match out on tun1000000 from 10.0.0.0/24 to any \
2 #       nat-to { 10.0.1.1, 10.0.1.2 } round-robin sticky-address
3 #match in on tun1000000 from any to 10.0.1.1 \
4 #       rdr-to { 10.0.0.0/24 } sticky-address random
5 #match in on tun1000000 from any to 10.0.1.2 \
6 #       rdr-to { 10.0.0.1, 10.0.0.2 } sticky-address
7
8 pass in proto tcp from any to any port 22 \
9         keep state (source-track)
10 pass in proto tcp from any to any port 25 \
11         keep state (source-track global)
12 pass in proto tcp from any to any port 80 \
13         keep state (source-track rule, max-src-nodes 1000, max-src-states 3)
14 pass in proto tcp from any to any port 123 \
15         keep state (source-track, max-src-nodes 1000)
16 pass in proto tcp from any to any port 321 \
17         keep state (source-track, max-src-states 3)