Skip to main content
BEIFORT
New Member
March 15, 2024
Question

Problem connecting to FortiGate IPsec VPN via remote access

  • March 15, 2024
  • 2 replies
  • 1665 views

Good afternoon everyone, I currently have a fortigate 40F in the office, connected directly to the internet company's router, the fortigate 40F has a connection to the router through the fortigate WAN to a LAN of the internet company's router. My goal is to connect to the IPsec VPN from my home for example...

 

1. The router has the DMZ activated towards the fortigate IP.

2. The IPsec VPN works if I am in the subnet (office LAN) of the FortiGate, that is, in the office, but from another location it does not work even if I put the public IP in the Remote Gateway of the fortigate client for Windows.
3. I have a user configured with a local password...

 

Any ideas on how to get the VPN to work?

 

Thank you.

2 replies

ssteo
Staff
Staff
March 16, 2024

Hello,

 

You can run packet sniffer to verify whether got incoming IPSEC traffics or not.

Below are the command:

diagnose sniff packet any "port 500 or port 4500" 4 0

 

Then try connect IPSEC from your PC and see got any output or not.

If no output, that mean the router had block the traffics.

Rajan_kohli
Staff
Staff
March 16, 2024

Hi @BEIFORT,

you might need to enable port forwarding for ports 500 and 4500 from your public IP to the internal IP of your FortiGate.

 

Regards

Rajan Kohli