xref: /freebsd/sbin/pfctl/tests/files/pf0084.in (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
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