Project

General

Profile

Actions

Bug #15155

closed

Mobile IPsec traffic stops working after approximately 55 minutes

Added by Andrew Almond 4 months ago. Updated 4 months ago.

Status:
Not a Bug
Priority:
Normal
Assignee:
-
Category:
IPsec
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

Windows 10 clients using the builtin IPsec client connecting to pfSense 23.05.1

Most of the time everything works great but we've had several incidents where the mobile IPsec does a rekey/reauth around 55 minutes after the connection was initially established and then the client loses access to resources through the VPN. Users must disconnect and reconnect to the VPN in order for the VPN to work again.

Rekey and Reauth are set to 0 (disabled) in pfSense.

A packet capture of the pfSense IPsec interface shows that packets are being sent/received to/from the client, but Wireshark on the client shows the client is sending packets but is not receiving any packets.

Packet captures of the pfSense WAN interface and the client both show ESP packets being sent and received.

It appears that the P1 is working correctly but the P2s are no longer being sent from pfSense to the client.

There is a floating firewall rule to block traffic destined for the mobile IPsec subnet from establishing states on the WAN interfaces. I confirmed there were no states present on the WAN interface that were destined for the mobile IPsec subnet.

When the P2 is manually disconnected on the pfSense side, it reestablishes correctly but the client still can't access VPN resources.

You can see this happening in the attached log at these times:
1/10/2024 12:55
1/10/2024 13:47
1/10/2024 14:43

The entries at 15:23 are from me manually disabling the P2 on the pfSense side.

When the issue begins to occur, all clients are affected.
Restarting the IPsec service fixes the issue.


Files

IPsec Log.csv (12.1 KB) IPsec Log.csv Andrew Almond, 01/11/2024 01:18 AM
Actions

Also available in: Atom PDF