Configuring a Virtual Network with NAT

Hi @MartinW,

To configure NAT for 172.16.0.0/24 on host, you have to add the the following iptables rule:

iptables -tnat -A POSTROUTING -s 172.16.0.0/24 ! -d 172.16.0.0/24 -j MASQUERADE

Cheers.

1 Like