xref: /openbsd/regress/sbin/pfctl/pf66.in (revision 09467b48)
1# test specified nat translation ports
2
3match out on lo0 from 192.168.1.1 to any nat-to 10.0.0.1 port 500
4match out on lo0 proto tcp from 192.168.1.2 to any nat-to 10.0.0.2 port 1000:5000
5match out on lo0 proto udp from 192.168.1.3 to any nat-to 10.0.0.3 port 5000:1000
6match out on lo0 proto udp from 192.168.1.4 to any nat-to 10.0.0.4 port 50000:50000
7match out on lo0 proto tcp from 192.168.1.2 to any nat-to 10.0.0.2 port www:5000
8match out on lo0 proto udp from 192.168.1.3 to any nat-to 10.0.0.3 port 5000:www
9
10
11