TEST_LIST1 = "{ 192.168.1.5, 192.168.1.6, 192.168.1.7 }" TEST_LIST2 = "{ 172.6.1.1, 172.14.1.2/32, 172.16.2.0/24 }" no nat on lo0 inet from 192.168.1.1 to 10.1.2.3 nat on lo0 inet from 192.168.1.1 to any -> 10.0.0.1 nat on lo0 inet proto tcp from 192.168.1.2 to any -> 10.0.0.2 nat on lo0 inet proto udp from 192.168.1.3 to any -> 10.0.0.3 nat on lo0 inet proto icmp from 192.168.1.4 to any -> 10.0.0.4 nat on lo0 inet from 192.168.1.5 to 172.6.1.1 -> 127.0.0.1 nat on lo0 inet from 192.168.1.5 to 172.14.1.2 -> 127.0.0.1 nat on lo0 inet from 192.168.1.5 to 172.16.2.0/24 -> 127.0.0.1 nat on lo0 inet from 192.168.1.6 to 172.6.1.1 -> 127.0.0.1 nat on lo0 inet from 192.168.1.6 to 172.14.1.2 -> 127.0.0.1 nat on lo0 inet from 192.168.1.6 to 172.16.2.0/24 -> 127.0.0.1 nat on lo0 inet from 192.168.1.7 to 172.6.1.1 -> 127.0.0.1 nat on lo0 inet from 192.168.1.7 to 172.14.1.2 -> 127.0.0.1 nat on lo0 inet from 192.168.1.7 to 172.16.2.0/24 -> 127.0.0.1 nat on lo0 inet from 192.168.0.0/24 to any -> (lo0) nat on lo0 inet from 192.168.1.8 to ! 172.17.0.0/16 -> 10.0.0.8 nat on ! lo0 inet proto udp all -> 10.0.0.8 static-port nat on ! lo0 inet proto tcp all -> 10.0.0.8 static-port nat on lo0 inet all -> 10.0.0.8 nat on tun0 inet all -> 10.0.0.8