Skip to main content
ihaidar
Staff
Staff
December 12, 2024

Technical Tip: Configuring 'One-to-One' Source NAT on Policy-based NGFW

  • December 12, 2024
  • 0 replies
  • 3006 views
Description This article describes how to configure IP Pools on Policy-based NGFW mode.
Scope FortiGate.
Solution

Let's assume that three IP addresses are required to be source NATed for a particular public IP address each.

User 1: 192.168.9.129----Nated to---> 91.255.251.153/32.
User 2: 192.168.9.130----Nated to---> 91.255.251.154/32.
User 3: 192.168.9.131----Nated to---> 91.255.251.155/32.

 

In this article, the configuration related to User 1 will only be explained, for the other two users, it is required to apply the same configurations for the IP pool and Central NAT policies.

 

  1. Configure Three IP pools with the type 'One-to-One', in each pool, add the IP addresses that are needed to NAT to:

IPPool 1: 91.255.251.153-91.255.251.153.
IPPool 2: 91.255.251.154-91.255.251.154.
IPPool 3: 91.255.251.155-91.255.251.155.

 

Below is an example of IPPool 1:

 

IP POOL.png

 

  1. Configure Three Central NAT policies for each.

    Below is an example of how to configure it for the first user. In the second and third central NAT policies, it is required to change the source addresses and the IPPool.
                                                         

    Central NAT policy.png

     

     

  2. Configure the Security Policy from the Source interface to the destination interface as shown below:
                                                                                               

    Security Policy.png

 

 

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT