summaryrefslogtreecommitdiff
path: root/regress/sbin/pfctl/pf16.in
blob: 39d516e16e60816830758b936ec2ab49aedeb433 (plain)
1
2
3
4
5
6
# 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 lo1000000 all no state