L2TP VPN to Mac OS X 10.6 Server does not connect

asked 2014-07-20 12:17:51 -0500

Phx_01 gravatar image

updated 2014-07-29 13:13:59 -0500

I have a Mac OS X 10.6 Server running and I am currently evaluating Fedora 20 as a client. One important feature I would hate to see going is to VPN into my server from outside my network.

Using Mac OS X as a client, it all works fine. Same is for my iOS devices. After I configure them, they simply connect, when I want to.

However, after having set up the L2TP VPN option in Settings > Network on Fedora, it tells me "Activation of network connection failed." when I try to enable it. This is a permanent error.

Also, for testing purposes, I am currently trying this inside my LAN. That way no NATing is required to reach my server.

Looking at the logs on my server, it appears that the client never provides the user credentials (neither user nor password) to the server and closes the connection at first sign.

UPDATE:

When looking at "/var/log/messages" on the client when connecting, it throws out the following messages (I x-ed out private information like internal IP addresses):

Jul 29 18:39:18 phxpro NetworkManager[841]: <info> Starting VPN service 'l2tp'...
Jul 29 18:39:18 phxpro NetworkManager[841]: <info> VPN service 'l2tp' started (org.freedesktop.NetworkManager.l2tp), PID 4328
Jul 29 18:39:18 phxpro NetworkManager[841]: <info> VPN service 'l2tp' appeared; activating connections
Jul 29 18:39:18 phxpro NetworkManager[841]: <info> VPN plugin state changed: starting (3)
Jul 29 18:39:18 phxpro NetworkManager: ** Message: Use 'x.x.x.x' as a gateway
Jul 29 18:39:18 phxpro NetworkManager: ** Message: Check port 1701
Jul 29 18:39:18 phxpro NetworkManager: ** Message: ipsec enable flag: yes
Jul 29 18:39:18 phxpro NetworkManager: ** Message: starting ipsec
Jul 29 18:39:18 phxpro NetworkManager: systemd: ipsec service is not running
Jul 29 18:39:18 phxpro NetworkManager: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Jul 29 18:39:18 phxpro NetworkManager: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Jul 29 18:39:18 phxpro NetworkManager: can not load config '/var/run/nm-ipsec-l2tp.4328/ipsec.conf': can't load file '/var/run/nm-ipsec-l2tp.4328/ipsec.conf'
Jul 29 18:39:18 phxpro NetworkManager: debugging mode enabled
Jul 29 18:39:18 phxpro NetworkManager: can not load config '/var/run/nm-ipsec-l2tp.4328/ipsec.conf': can't load file '/var/run/nm-ipsec-l2tp.4328/ipsec.conf'
Jul 29 18:39:18 phxpro NetworkManager: opening file: /var/run/nm-ipsec-l2tp.4328/ipsec.conf
Jul 29 18:39:18 phxpro NetworkManager: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Jul 29 18:39:18 phxpro NetworkManager: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")
Jul 29 18:39:18 phxpro NetworkManager[841]: <info> VPN connection 'PhxVPN' (Connect) reply received.
Jul 29 18:39:18 phxpro NetworkManager[841]: <warn> VPN connection 'PhxVPN' failed to connect: 'Possible error in IPSec setup.'.
Jul 29 18:39:18 phxpro NetworkManager[841]: <warn> ...
(more)
edit retag flag offensive close merge delete