The many-to-many NAT policy allows you to translate a group of addresses into a group of different addresses. This allows the firewall to utilize several addresses to perform the dynamic translation. If a many-to-many NAT rule policy contains source original and source translated with the same network prefix, the remaining part of the IP address is unchanged.
To create a many-to-many NAT rule policy
Navigate to the OBJECT | Match Objects > Addresses page.
Click +Add at the top of the page. The Address Object Settings dialog displays.
Enter a description for the address range, such as public_range
, in the Name field.
Select WAN as the zone from the Zone Assignment drop-down menu.
Choose Range from the Type drop-down menu. The Address Object Settings dialog changes.
Enter the range of addresses (usually public IP addresses supplied by your ISP) in the Starting IP Address and Ending IP Address fields.
Click Save to create the range object. The new address object is added to the Address Objects table.
Click Close.
Navigate to the POLICY | Rules and Policies > NAT page.
Click +Add at the bottom of the NAT table. The Adding NAT Rule dialog displays.
To create a NAT Rules policy to allow the systems on the LAN subnets (by default, the X0 interface) to initiate traffic using the public range addresses, choose the options shown in Option Choices: Many-to-Many NAT Policy Example:
Click Add to add and activate the NAT Rule policy. The new policy is added to the NAT Policy table.
With this policy in place, the firewall dynamically maps outgoing traffic using the four available IP addresses in the range you created.
You can test the dynamic mapping by installing several systems on the LAN interface (by default, the X0 interface) at a spread-out range of addresses (for example, 192.168.10.10
, 192.168.10.100
, and 192.168.10.200
) and accessing the public website http://www.whatismyip.com from each system. Each system should display a different IP address from the range you created and attached to the NAT policy.
If a many-to-many NAT policy contains source original and source translated with the same network prefix, the remaining part of the IP address is unchanged.