xref: /freebsd/sbin/pfctl/tests/files/pf0084.in (revision 13ea0450a9c8742119d36f3bf8f47accdce46e54)
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
8pass in proto tcp from any to any port 22 \
9	keep state (source-track)
10pass in proto tcp from any to any port 25 \
11	keep state (source-track global)
12pass in proto tcp from any to any port 80 \
13	keep state (source-track rule, max-src-nodes 1000, max-src-states 3)
14pass in proto tcp from any to any port 123 \
15	keep state (source-track, max-src-nodes 1000)
16pass in proto tcp from any to any port 321 \
17	keep state (source-track, max-src-states 3)
18