Description | This article describes how to resolve common issues related to establishing VPNs or providing remote access through Virtual IPs (VIPs) on a FortiGate device located behind an ISP NAT router/modem. |
Scope |
FortiGate, DMZ, ISP router/modem. |
Solution |
Scenario Overview: When a FortiGate is located behind an ISP router/modem using NAT (Network Address Translation) and assigns a private IP to the FortiGate's WAN interface, external services like VPNs, VIPs, FTM push notification, or even remote access may not work. In this scenario, the ISP router/modem holds the public IP, while the FortiGate gets a private WAN IP and if not well configured the ISP device may drop traffic that should be delivered to the FortiGate, causing connectivity issues. One way to confirm this is during troubleshooting using 'diagnose sniffer packet,' where the traffic never reaches the FortiGate.
Solution: This will ensure that any traffic towards to the public IP of the ISP router/modem will be properly routed to the FortiGate. If access to the ISP router/modem is available, the configuration can be done locally by the user. Otherwise, the ISP will need to make this change. If the FortiGate with push notification enabled is behind a router/other firewall that performs NATing, then a virtual IP/port forwarding must be configured on that unit to allow responses to reach the FortiGate.
Generic Step-by-Step Configuration:
To check if the IKE sent by the remote peer is being received:
To check if the requests from the Internet to the VIP (i.e., External IP address and port) are being received:
To check if the pings from the Internet to the FortiGate's WAN private IP are arriving:
By enabling the DMZ on the ISP router/modem and forwarding all incoming traffic from the internet to FortiGate's private WAN IP, all the external access services such as VPNs and VIPs will function correctly.
If further assistance is needed with the configuration, contact the ISP or Fortinet support.
Related article: Troubleshooting Tip: FortiToken Mobile push notification issue |