Disclaimer: I know very little about vpns and terminology, apologies.
I am trying to use openvpn to connect to my works remote server. I am working on Ubuntu 20.04. We have been given a .ovpn config file. I have starred out the IP address, but please let me know if I have removed too much / not enough?
client
dev tun
proto udp
remote-random
connect-timeout 10
explicit-exit-notify 2
remote **.***.***.*** **** udp
remote **.***.***.*** **** udp
remote vpn-01.***********.co.uk 1199 udp
remote vpn-02.***********.co.uk 1199 udp
nobind
persist-key
persist-tun
auth-user-pass
reneg-sec 86400
remote-cert-tls server
comp-lzo adaptive
auth SHA512
cipher AES-256-CBC
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
verb 4
ca [inline]
cert [inline]
key [inline]
We were given the following instructions:
1Install the openvpn network manager addon
a) sudo apt-get install network-manager-openvpn-gnome
b) sudo systemctl restart network-manager
2) Add the VPN via the Gnome Settings program
a) Press the Windows key, type settings, click on settings
b) Navigate to "Networking"
c) You should see a "VPN" section on the right
d) Click the "+" next to VPN
e) Select "Import from file..."
f) Once imported enter your LDAP username and password in the "Authentication" section
g) Click the "Add" button in the top right
h) You should now be able to turn the VPN on with the slider next to it's name, it may pop up asking for your password.
i) If connected successfully you will see a new icon in your tray
I get to step (g) and the 'add vpn' window closes, but when I go back to the networking/vpn tab, the vpn hasn't appeared (it's as though it has reset itself).
Could someone help me troubleshoot this issue? Maybe it is better to use the command line interface?
Please let me know if there is any more info I should include.