- Newest
- Most votes
- Most comments
No, third-party clients (such as OpenVPN Connect, Tunnelblick, or Viscosity) do not natively support SAML/SSO authentication with AWS Client VPN, so it’s a Deadlock…
AWS implemented a proprietary SAML workflow for its VPN service that redirects the SSO assertion to a custom local loopback port (specifically http://127.0.0.1:35001). Standard third-party OpenVPN clients do not support this specific redirect flow out of the box.
If your endpoint is configured for Federated Authentication (SAML 2.0 / AWS SSO), you are strictly required to use the official AWS provided Client VPN application.
Reference:
- AWS Documentation - SAML 2.0-based federated authentication (See the requirements section: "Users must use the AWS provided client to connect to the Client VPN endpoint.")
The options I see: As the VPN client no longer dynamically injects the search suffix, you cannot solve this at the VPN configuration level. The only bulletproof solutions require adapting your environment:
-
Use FQDNs (Most Robust Solution) Update your client applications, database connection strings, and bookmarks to use Fully Qualified Domain Names (e.g., app1.internal.yourdomain.com instead of just app1). This eliminates the need for DNS search suffixes entirely.
-
OS-Level Suffix Configuration Instead of relying on the VPN client to inject the search domain dynamically, push the DNS search suffix persistently to the client operating systems via MDM (for macOS), Group Policy (Windows), or resolv.conf (Linux).
-
Rollback to v3.x (Temporary Workaround) Roll your users back to the previous AWS Client VPN v3.x series. The older client versions handle the network stack differently and still respect the manual dhcp-option DOMAIN injects in the .ovpn file while fully supporting SAML.
-
Open-Source SAML Wrappers (never tested it on my own and do not find it anymore in GitHub …) If you have advanced Linux/macOS users, they can use open-source CLI tools like smlx/awsvpnclient . It acts as a wrapper: it handles the proprietary AWS SAML loopback authentication, retrieves the token, and then passes the connection to standard OpenVPN, which perfectly respects all .ovpn parameters.
AWS Client VPN deliberately ignores custom dhcp-option DOMAIN (and similar DNS overrides) in the local .ovpn file. This is by design, not a bug. The proprietary AWS client parses the profile and strips manual DNS directives to strictly enforce the configuration pushed directly from the AWS Client VPN Endpoint.
Currently, the AWS Client VPN Endpoint allows you to push DNS Server IPs, but does not natively push custom DNS search domains.
So, if your client applications strictly rely on .ovpn directives like dhcp-option DOMAIN for search suffixes or Split-DNS, the workaround is to use a standard OpenVPN client. AWS supports third-party clients such as OpenVPN Connect, Tunnelblick (macOS), or Viscosity. Unlike the AWS client, these clients will fully parse and respect the standard OpenVPN dhcp-option parameters in your configuration file.
Do any of these clients support authentication via AWS/SSO - we are using SSO from our IDP with the AWS client
answered a month ago
Relevant content
asked 2 years ago
asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
