Showing results for 
Search instead for 
Did you mean: 

Ubuntu 20.04 to Cisco ASA 5525 VPN




We have a client with a Cisco ASA 5525.


Is it possible to connect to it from an Ubuntu 20.04 GNU/Linux machine on an Amazon EC2 instance and establish a VPN tunnel?


If yes, would the Cisco Anyconnect VPN client for Linux work for doing that?


Moreover, the ASA 5525 has the following requirements for the VPN:


Netsmart Minimum Standard IKE (ISAKMP Phase 1) Settings:


Authentication Algorithm: IKEv2
Encryption Algorithm: AES 256
Integrity: SHA-256 or SHA-512
Lifetime: 86400 seconds
Diffie Hellman Group: Group 14 or higher
Authentication Mode: Pre-shared Key


Netsmart Minimum Standard IPSec (Phase 2) Settings:


Encryption Algorithm: AES 256
Integrity: SHA256 or SHA512
Lifetime: 28800 seconds
Negotiation Mode: Main
PFS: Disabled




Disable IKE keep-alives
Disable VPN idle timeouts
Disable DPD (Dead Peer Detection)


Would the Cisco Anyconnect VPN client for Linux support these settings?


If no, what would be the best way to go about it?


Thanks and regards,


- V


2 Replies 2


Yes you can you use Ubuntu 20.04 with AnyConnect VPN client, use the latest version 4.10


The AnyConnect VPN client does not support Pre-Shared Authentication (PSK), only certificate or username/password (RADIUS, LDAP or Local). PSK would be supported if you are setting up a Site-to-Site VPN between two firewalls or router, not a software VPN client.


The other IKEv2/IPSec algorithms/settings will be supported.


Thank you Rob!


However, we can't change things at the ASA end (due to policy reasons), so I need to stick to PSK..


So, I would need to setup a site to site VPN, I am thinking of putting up a Strong Swan on my Ubuntu box and then establishing the VPN connection. Could that be a good option?


I came up with the idea after seeing:


Best regards,


- V

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: