summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf16.in
blob: b9767d66f39faeac3700712433dcaed33d1a9292 (plain)
1
2
3
4
5
6
7
# Test rule order processing: should fail unless scrub -> nat -> filter
scrub in on lo0 all
nat on lo0 from 192.168.1.1 to any -> 10.0.0.1
rdr on lo0 proto tcp from any to 1.2.3.4/32 port 2222 -> 10.0.0.10 port 22   
binat on lo0 from 192.168.1.1 to any -> 10.0.0.1
pass in on lo1 all