blob: 5b9323aa2493adf7343e22ccb36e433c9e7fb23f (
plain)
1
2
3
4
5
6
7
8
9
10
|
# test specified nat translation ports
match out on lo0 from 192.168.1.1 to any nat-to 10.0.0.1 port 500
match out on lo0 proto tcp from 192.168.1.2 to any nat-to 10.0.0.2 port 1000:5000
match out on lo0 proto udp from 192.168.1.3 to any nat-to 10.0.0.3 port 5000:1000
match out on lo0 proto udp from 192.168.1.4 to any nat-to 10.0.0.4 port 50000:50000
match out on lo0 proto tcp from 192.168.1.2 to any nat-to 10.0.0.2 port www:5000
match out on lo0 proto udp from 192.168.1.3 to any nat-to 10.0.0.3 port 5000:www
|