Ask Your Question

Getting VPN to work, Openvpn or L2TP

asked 2016-03-06 08:12:04 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.


I have been trying to get the VPN connections to work on Gnome/Cinammon but, despite having the settings all configured I always get errors... Either timeouts our SELinux complaining that the service cannot start.

I have successfully configure my VPN access on my Windows and Macs but Fedora no joy. My ports on the firewall are fine as all other OS and devices work fine.

The access is to my own Synology box which has a VPN server.

I also have a TIgerVPN openVPN access that only works via the command line. Via the GUI it never works.

I have tried creating pretty much every variation, PPPT L2TP, OpenVPN and it doesnt work...

Can someone please help? Many thanks in advance!

edit retag flag offensive close merge delete


Today I installed a fresh Virtual Machine with Linux Mint. Exactly same openVPN configuration file. It connected first time.

I dont understand why Fedora blocks this. I dont know where to look for logs etc.. Can someone guide me here?

Ahh, I have managed to disable SElinux confirmed with getenforce command after reboot, and made no difference.

Since it didnt make a difference I have enabled it again..

Thanks in advance.

layertwo gravatar imagelayertwo ( 2016-03-09 14:28:14 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2016-03-06 11:42:13 -0500

oatgroat gravatar image

Not sure if it will help you but I had to move my ca.crt file into ~/.cert to get privateinternetaccess vpn to work.

The .cert directory didn't exist on my system so I manually created it. It made SELinux happy.

edit flag offensive delete link more



Thanks for the reply. I move the cert but it didnt make a difference... On openVPN the odd thing is that I see the pc trying to make the connection on my synology, but it times out...

It has to be SeLinux playing up...

layertwo gravatar imagelayertwo ( 2016-03-06 23:59:37 -0500 )edit

answered 2016-03-19 05:20:51 -0500

layertwo gravatar image

Got it!

Because I messed with SeLinux i had to reinstall fedora.

After reinstalling a fresh system, I imported my VPN config and then followed the SELinux troubleshooting lines in other. Voila, worked like a charm!

Next time, I will just follow SElinux suggestions... Previously I thought I only had to choose one of the suggested solutions SElinux presented me... apparently I needed them all.

Thanks all for the inputs here!

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-03-06 08:12:04 -0500

Seen: 484 times

Last updated: Mar 06 '16