Exact Extract — Official Administration Guide
FortiOS 8.0.0 Administration Guide | Destination NAT and VIP | p. 2082
“Static Virtual IPs (VIP) are used to map external IP addresses to internal IP addresses. This is also called destination NAT, where a packet ' s destination is being NAT ' d, or mapped, to a different address.”
Technical Deep Dive
From the exhibits:
A VIP named VIP-WEB-SERVER is configured on WAN (port2) with:
External IP: 100.65.0.200
Mapped (internal) IP: 10.0.11.50
Port forwarding enabled (TCP)
External service port: 443
Map to IPv4 port: 4443
The inbound firewall policy Web_Server_Access is:
From WAN (port2) to LAN (port4)
NAT: Disabled (meaning no source NAT is applied)
What happens to the packet
A host 100.65.1.111 sends TCP SYN dst-port 443 to 100.65.0.200.
When FortiGate matches the VIP and forwards traffic to the internal server, FortiGate performs destination NAT (DNAT) based on the VIP:
Source IP is unchanged because policy NAT is disabled:
Source remains 100.65.1.111
Destination IP is translated by the VIP:
Destination becomes 10.0.11.50
Destination port is translated by the VIP port-forward:
Destination port becomes 4443
Therefore, at the time FortiGate forwards the packet to the destination (internal server), it will be:
Source address: 100.65.1.111
Destination address: 10.0.11.50
Destination port: 4443
FortiOS 8.0 verification note: Destination NAT changes the destination address and port, not source IP when SNAT is disabled.