Cloudflare Docs
Magic WAN
Edit this page
Report an issue with this page
Log into the Cloudflare dashboard
Set theme to dark (⇧+D)

Enable NAT for a subnet

Each subnet (directly-attached or routed) must have a unique address space within your Magic WAN. You can re-use address spaces locally by enabling static network address translation (NAT) for a subnet. Subnet NAT is 1:1. To enable it, supply an address prefix the same size as the subnet’s prefix, and the Magic WAN Connector will translate between the two.

For example:

  • Prefix:
  • Static NAT prefix:

With the example above, outbound traffic from host in the subnet is translated to in the Connector (and vice versa for incoming traffic).

​​ Create NATs for subnets

For more information on how to a create a NAT for a subnets, refer to Create a LAN, either in Configure hardware Connector or Configure virtual Connector.