Ask Your Question
0

Fedora 26 OpenVPN works from shell, but not from Network Manager

asked 2017-07-19 19:37:47 -0500

Eusono gravatar image

hi eveyrone,

I have a bit of an odd problem.

I have an OpenVPN setup in which I use ssh keys for authentication.

if I'm in the shell and I run

sudo openvpn --config configfile.conf

the VPN establishes and everything is great.

If I try to launch the VPN from the network manager, it fails out right away. I'm a bit of a noob to Linux so i'm not quite sure where to look for logs... can anyone help?

edit retag flag offensive close merge delete

Comments

where do you have your certs for open vpn?

aeperezt gravatar imageaeperezt ( 2017-07-19 22:39:23 -0500 )edit

They are in a folder in my home directory

[08:33:56]esink@esink-fedora1:~/methode$ ls

ca.crt esink-lt.crt esink-lt.key methode.conf ta.key

Eusono gravatar imageEusono ( 2017-07-20 08:14:38 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-07-20 11:42:34 -0500

aeperezt gravatar image

You need to create a .cert folder on your home and copy cert files inside that folder then use restorecon -R -v ~/.cert that will allow it to work, more information look at https://ask.fedoraproject.org/en/ques...

edit flag offensive delete link more
0

answered 2017-07-20 11:05:14 -0500

Eusono gravatar image

The simple solution for this was setting SELinux to Passive mode.

edit flag offensive delete link more

Comments

Do you mean "Permissive" mode? I don't see a passive mode.

jocull gravatar imagejocull ( 2018-11-08 08:58:15 -0500 )edit

Question Tools

Stats

Asked: 2017-07-19 19:37:47 -0500

Seen: 1,135 times

Last updated: Jul 20 '17