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.
42 Answers
To automatically connect to VPN
- Launch nm-connection-editor or open Network Connections.
- Choose you WiFi or LAN connection, click "Edit", select the "General" tab.
- Enable "Automatically connect to VPN when using this connection".
Extra info on installing open VPN and use the same "settings, country" every time check this link.
5In 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.