Skip to main content
Renante_Era
Staff
Staff
December 17, 2024

Technical Tip: Configure third-party router to egress internet traffic to FortiGate across IPsec tunnel

  • December 17, 2024
  • 0 replies
  • 730 views
Description This article describes the generic configuration steps when the internet traffic of a third-party router needs to egress to FortiGate which is located across the IPsec tunnel VPN.
Scope FortiGate.
Solution

Third-party routers might not have the needed security profile for outbound traffic. In this situation, the internet traffic can be sent across the IPsec tunnel where the necessary security profiles can be applied once the traffic reaches the FortiGate.

 

  1. In the FortiGate, create a firewall policy from the IPsec tunnel interface to the egress interface such as WAN1 or WAN2, set source to all, destination to all, service to all, and enable NAT. Enable the necessary security profiles such as Web Filter and antivirus if needed.
  2. Next, modify the specific Phase2 in VPN -> IPsec tunnel, and set the local subnet to 0.0.0.0/0.
  3. On the remote third-party router, modify Phase2 and set the remote subnet to 0.0.0.0/0. Test connecting to the internet and use the browser to verify what is the current public IP address. If the IP address is not the same as the FortiGate public IP address, then verify on the third-party router if a default route (0.0.0.0/0) needs to be created and sent across the IPsec tunnel interface.
  4. It is also a good idea to adjust TCP-MSS on the IPSEC firewall policy created in point 1, because of the extra overhead of the IPSEC encapsulation. More information on the following article Technical Tip: Setting TCP MSS value.