Score:1

OpenVPN client fine with Network Manager but not from command line

in flag
Se6

After installing network-manager-openvpn-gnome, I do manage to connect to some OpenVPN servers fine by importing some .ovpn files. However, I also want to do it directly on the command line with openvpn but I do not manage.

openvpn myvpn.ovpn

Seems happy, I can see the new interface with ip, but the connection does not work, it looks like a DNS issue.

The same myvpn.ovpn file imported in Network Manager works fine.

I tried to add the following at the end of the .ovpn file:

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

But it does not help. Any pointer? I have tried openvpn3 but it does not support TAP that I need.

Thanks in advance!

Score:1
in flag
Se6

Solved.... I just needed to install openresolv So adding the lines mentioned above to the opvn files are necessary.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.