iptables -t nat -F kroot@swantest:/home/build/libreswan/testing/pluto/certoe-17-asymmetric-cert-nat-testing-client-crash\[root@nic certoe-17-asymmetric-cert-nat-testing-client-crash]# iptables -F kroot@swantest:/home/build/libreswan/testing/pluto/certoe-17-asymmetric-cert-nat-testing-client-crash\[root@nic certoe-17-asymmetric-cert-nat-testing-client-crash]# # NAT to NIC's address kroot@swantest:/home/build/libreswan/testing/pluto/certoe-17-asymmetric-cert-nat-testing-client-crash\[root@nic certoe-17-asymmetric-cert-nat-testing-client-crash]# # NAT UDP 500,4500 to NICs address with sport kroot@swantest:/home/build/libreswan/testing/pluto/certoe-17-asymmetric-cert-nat-testing-client-crash\[root@nic certoe-17-asymmetric-cert-nat-testing-client-crash]# iptables -t nat -A POSTROUTING -s 192.1.3.0/24 -p udp --sport 4500 -j SNAT --to-source 192.1.2.254:2500-2700 kroot@swantest:/home/build/libreswan/testing/pluto/certoe-17-asymmetric-cert-nat-testing-client-crash\[root@nic certoe-17-asymmetric-cert-nat-testing-client-crash]# iptables -t nat -A POSTROUTING -s 192.1.3.0/24 -p udp --sport 500 -j SNAT --to-source 192.1.2.254:3500-3700 kroot@swantest:/home/build/libreswan/testing/pluto/certoe-17-asymmetric-cert-nat-testing-client-crash\[root@nic certoe-17-asymmetric-cert-nat-testing-client-crash]# iptables -t nat -A POSTROUTING -s 192.1.3.0/24 -j SNAT --to-source 192.1.2.254 kroot@swantest:/home/build/libreswan/testing/pluto/certoe-17-asymmetric-cert-nat-testing-client-crash\[root@nic certoe-17-asymmetric-cert-nat-testing-client-crash]#