Skip to content

Instantly share code, notes, and snippets.

@thiagozs
Created June 19, 2024 18:55
Show Gist options
  • Save thiagozs/4d8c6e090a027fae3dd883163615f91e to your computer and use it in GitHub Desktop.
Save thiagozs/4d8c6e090a027fae3dd883163615f91e to your computer and use it in GitHub Desktop.
AWSVPNClient Fixes on ubuntu 24.04

Steps

Download

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb

sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.13_amd64.deb

Edit files and add Env vars

sudo vim /etc/systemd/system/awsvpnclient.service

Put the Enviroment line

[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

Create a simbolic link

cd /opt/awsvpnclient 

/opt/awsvpnclient  …
➜ sudo ln -s AWS\ VPN\ Client awsvpnclient  

Edit the menu

find / -name 'awsvpnclient.desktop' 2>&1 | grep -v 'Permissão negada'

/home/thiagozs/.local/share/applications/awsvpnclient.desktop
/usr/share/applications/awsvpnclient.desktop

Put this content here.

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=AWS VPN Client
Comment=AWS VPN Client
Exec=/opt/awsvpnclient/awsvpnclient %U
Path=/opt/awsvpnclient
Icon=acvc-64
Terminal=false
Categories=Network;VPN;
Keywords=vpn;aws;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment