Based on https://gist.github.com/thiagozs/4d8c6e090a027fae3dd883163615f91e with a few edits and updates, tested on latest mint 22.
Missing dependency on newer version of ubuntu, nees to be kept up to date manually! Won't start without it.
# latest as of 2024 08 14
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
sudo nano /etc/systemd/system/awsvpnclient.service
Put the Enviroment
line (again, won't start without this).
[Service]
Type=simple
ExecStart=/opt/awsvpnclient/Service/ACVC.GTK.Service
Restart=always
RestartSec=1s
User=root
Environment=DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
[Install]
WantedBy=multi-user.target
cd /opt/awsvpnclient
sudo ln -s AWS\ VPN\ Client awsvpnclient
find / -name 'awsvpnclient.desktop' 2>&1 | grep -v 'Permission'
Should be in /usr/share/applications/awsvpnclient.desktop
Update to: (notice the need to set the env also in this file, won't start otherwise, not for me at least)
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=AWS VPN Client
Comment=AWS VPN Client
Exec=env DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 /opt/awsvpnclient/awsvpnclient %u
Path=/opt/awsvpnclient
Icon=acvc-64
Terminal=false
Categories=Network;VPN;
Keywords=vpn;aws;
As per https://docs.aws.amazon.com/vpn/latest/clientvpn-user/linux-troubleshooting.html I usually need to add:
dhcp-option DOMAIN-ROUTE .
to my ovpn configuration files. I found there is instead no need to setup the stub resolver on Mint as it seems to come by default already setup that way.
I hope aws gets around updating their client, the latest version supported is ubuntu 20.04 and it doesn't seem too many changes would be required. To follow the discussions about it: https://repost.aws/questions/QUNJeF_ja_Suykous7EvfX5Q https://repost.aws/questions/QUVGfYR-aETamiQgnHRFADeA/client-vpn-on-ubuntu-24-04