- Newest
- Most votes
- Most comments
The behavior you're experiencing with SAML-authenticated users automatically reconnecting after the 8-hour maximum session duration is not consistent with the expected behavior described in the AWS documentation. According to the information provided, SAML-authenticated users should not automatically reconnect after the session timeout expiry.
To address this issue and prevent SAML users from re-authenticating and establishing new tunnels automatically, especially during inactive periods like nighttime, you could consider the following approaches:
-
Verify the configuration: Double-check that the Client VPN endpoint is correctly configured for SAML-based authentication and that the maximum session duration is indeed set to 8 hours.
-
Client-side settings: Ensure that the AWS provided client or any third-party OpenVPN compatible client being used is not configured to automatically reconnect. Some client applications may have built-in reconnection features that could override the server-side settings.
-
Monitor and audit: Use Amazon CloudWatch Logs to monitor connection attempts and session durations. This can help you identify any unexpected behavior and gather more information about when and how these reconnections are occurring.
-
Contact AWS Support: If you've verified your configuration and are still experiencing this unexpected behavior, it may be worth contacting AWS Support to investigate further, as this could potentially be a bug or an undocumented behavior of the service.
Remember, the goal of setting a maximum session duration is to enhance security and control access. If users' sessions are remaining active when they're not actually using the VPN, it defeats the purpose of this security measure and, as you noted, can lead to unnecessary charges.
Sources
AWS Client VPN maximum VPN session duration - AWS Client VPN
Client authentication in AWS Client VPN - AWS Client VPN
AWS VPN | Features | Amazon Web Services (AWS)
answered 2 years ago
It's been 4 days since Amazon Web Service's network has been unstable, and how do I report it to their network team?
answered a year ago
Relevant content
asked 6 years ago
asked 4 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 3 years ago
