Skip to main content
CuervoLoco
New Member
Oct 18, 2024 9:02 AM UTC
Question

Cannot connect to FortiClient IPsec VPN when using iPhone hot-spot

Hi,

 

The situation where we have the error is using the shared connection of an iPhone and connecting with FortiClient from a Windows 11.

 

The iPhone is only used to provide Internet access to Windows laptops, the FortiClient is installed on those Windows laptops and from here the error sequence is the one I mentioned in the first message

 

- We connect and it asks for username and password
- We enter the data and it asks us for the FortiToken.
- Enter the code provided by FortiToken.
- After about 12 seconds the client does not connect and in the firewall logs appears the message “delete IPsec phase 1 SA”.

 

This is the progress of the connection in phase 1 of IPsec:

 

2024/09/26 11:40:55 -> negotiate IPsec phase 1 -> XAuth authentication successful
2024/09/26 11:40:55 -> progress IPsec phase 1 -> OK
2024/09/26 11:40:55 -> progress IPsec phase 1 -> DONE

 

And 12 seconds later the message “delete IPsec phase 1 SA” is displayed.

 

Thanks.

3 replies

AEK
SuperUser
SuperUser
Oct 18, 2024 10:37 AM UTC

Hi Cuervo

From FG, run this:

diag debug app ike -1

diag debug app fnbamd -1

diag debug enable

 

From FCT side, export the logs and check if something relevant there.

 

Also try disable any IPv6 config on your phone (for hotspot dhcp clients) or on your PC and keep only IPv4 then see if it helps.

Translate
AEK
CuervoLoco
New Member
Oct 18, 2024 1:32 PM UTC

Hi AEK,

 

I will go back to get the logs you indicate and review them more calmly, but I was looking at them and there was nothing strange.

 

This morning I tested in the same conditions 2 more profiles that we have with different Local ID and I can access without problems.

 

I mean using the same laptop connected via hot-spot to the same iPhone, using the profile with Local ID for example 60 and 70 works perfectly and trying to connect to Local ID 50 does not work.

 

Thanks.

Translate
kosotbo2
New Member
Oct 18, 2024 10:45 AM UTC

Have you ran a simple ping to your external interface of your firewall from the users home internet connection? And run it for a while not just the standard 4 pings. If that isn’t stable at all (wired or wireless) then that needs to be fixed first, if it is stable wired but not wireless then the user needs to fix that by either moving the router to a better spot in relation to where they work. But if the ping is stable with good reply times both wired and wireless then the ISP should be involved to make sure no firewall settings on the modem are causing this issue https://tutuapp.uno/ .

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024