Ask Your Question
0

openvpn on Gnome NetworkManager

asked 2015-12-24 09:09:37 -0500

fedelibre gravatar image

updated 2015-12-24 12:52:16 -0500

I've imported in Gnome settings an openvpn file I used to connect (successfully) to my VPN. When I try to enable the VPN connection, I see a message in the notifications saying "connection failed". No other useful information is printed.

Where should I look for error messages? Can't find anything useful under /var/log or with dmesg | tail.

EDIT: journalctl -r helped me to spot an error related to proto-tcp configuration. In the advanced settings of NetworkManager I flagged the TCP option, which adds this line in the /etc/NetworkManager/system-connections/file:

proto-tcp=yes

journalctl shows me an error saying that proto-tcp is ambiguous and I should specify if it's client or server. But NetworkManager doesn't seem to have an option for this. So I tried to edit the file manually and append -client but then I get a warn like "Property proto-tcp-client not valid or not supported".

edit retag flag offensive close merge delete

Comments

Try journalctl -rto get more information ("r" is for reverse order, so newest messages will be at the top) .

vtrefny gravatar imagevtrefny ( 2015-12-24 09:27:09 -0500 )edit

thanks, this helps: I'll update the question, as it contains very few information at the moment

fedelibre gravatar imagefedelibre ( 2015-12-24 12:46:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-12-26 04:04:46 -0500

fedelibre gravatar image

Bug 759811 with a patch proposal was opened just three days ago.

Explanation:

Since some unspecified version, openvpn requires to have --proto tcp-client or --proto tcp-server when using a static key. And the plugin just give --proto tcp as argument.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-12-24 09:09:37 -0500

Seen: 897 times

Last updated: Dec 26 '15