Everytime I use Vpn I need to connect to the VPN manually using different countries.
Is there a way to connect to the VPN automatically after the system starts on Ubuntu 18.04? Thanks.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityEverytime I use Vpn I need to connect to the VPN manually using different countries.
Is there a way to connect to the VPN automatically after the system starts on Ubuntu 18.04? Thanks.
To automatically connect to VPN
Extra info on installing open VPN and use the same "settings, country" every time check this link.
nm-connection-editor
and press Enter. Worked for me in Ubuntu 20.04.
In addition to AnOn's answer you might want to have a look at this answer. If you "Store the password for all users" then the VPN will also automatically connect after waking up from being suspended.