I have problem with connecting to vpn my company gave me those files along with a password
I tried to import them this way
1- I go to Network Setting
2- then I press the plus button to add new connection
3- then I choose import from file option
4- then I select the
5- and finally I put the password and save
after this is I try to connect I get this message
and if I check the
syslog I find this error
I looked around in google and I found two ways
The first way is to use this command line each time I have to connect
sudo openvpn /home/pookyfox/Documents/tw-proxmox-ovh_vpn/tw-proxmox-ovh_vpn.ovpn
This way is so much boring each time open my laptop I have to and execute the command and put the password and leave the terminal open
The second way is to import network connection using this command line
sudo nmcli c import type openvpn file tw-proxmox-ovh_vpn.ovpn
The problem in this way is that if I connect to the network I get a success message but I only have access to the
VPN not any other website (like google for example) and to resolve the I have to check this
Use this network only for its resources on its network in the network setting in the IPv4 tab and my guess is that I have overridden some hidden setting when I save after checking that button.
And here’s the OpenVPN configuration
client proto udp dev tun ca ca.crt dh dh2048.pem cert tw-proxmox-ovh_vpn.crt key tw-proxmox-ovh_vpn.key remote [ip_adress] [port] cipher DES-CBC verb 2 mute 20 keepalive 10 120 comp-lzo persist-key persist-tun float resolv-retry infinite nobind tls-cipher "DEFAULT:@SECLEVEL=0"
I had to add the
tls-cipher "DEFAULT:@SECLEVEL=0" because I had an other issue.
So my question is how can I use network manager to connect to the VPN ?(just like the second way but with the box checked)