Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

L2TP VPN to Mac OS X 10.6 Server does not connect

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, 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.

L2TP VPN to Mac OS X 10.6 Server does not connect

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, 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> error disconnecting VPN: Could not process the request because no VPN connection was active.
Jul 29 18:39:23 phxpro NetworkManager[841]: <info> VPN service 'l2tp' disappeared

The file "/var/run/nm-ipsec-l2tp.4328/ipsec.conf" does exist and can be r/w by root.

Checking the directory structure, not even the directory "/var/run/pluto" exists, let alone the file inside. As it appears to be important for this connection, does anyone know what Pluto is and where I can get it from? Or looking at those lines, what else do I need, which inhibits me from using the VPN connection? Never changed anything permission-wise, so the permissions are the way Fedora installed them.

L2TP VPN to Mac OS X 10.6 Server does not connect

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: 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> error disconnecting VPN: Could not process the request because no VPN connection was active.
Jul 29 18:39:23 phxpro NetworkManager[841]: <info> VPN service 'l2tp' disappeared

The file "/var/run/nm-ipsec-l2tp.4328/ipsec.conf" does exist and can be r/w by root.

Checking the directory structure, not even the directory "/var/run/pluto" exists, let alone the file inside. As it appears to be important for this connection, does anyone know what Pluto is and where I can get it from? Or looking at those lines, what else do I need, which inhibits me from using the VPN connection? connection?

Never changed anything permission-wise, so the permissions are the way Fedora installed them.