Troubleshooting Tip: SNAT Subnet-to-Subnet with IP Pool Fixed Port
| Description | This article describes how to configure subnet to subnet NAT. |
| Scope | FortiGate, SNAT |
| Solution | Original source network: 10.20.30.0/24
Translated SNAT network: 172.16.25.0/24
Network original and NAT must have the same netmask in this case /24 and the fourth octet will always match, for example:
Original -SNAT-> Translated 10.20.30.1 -SNAT-> 172.16.25.1 10.20.30.66 -SNAT-> 172.16.25.66 10.20.30.128 -SNAT-> 172.16.25.128 10.20.30.250 -SNAT-> 172.16.25.250
And so on.
Configure a port-fixed fixed IP-Pool:
config firewall ippool edit "10.20.30-SNAT-172.16.25" set type fixed-port-range next end
And apply it in an outbound Firewall Policy.
 
Results.
diagnose sniffer packet any 'host 192.168.200.1 and icmp' 4
diagnose sniffer packet any 'host 192.168.200.1 and icmp' 4 |

