Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I configure a L2TP VPN?

Hello!

I used to connect to a VPN (freel2tpvpn.com), so I could watch BBC content via get_iplayer. It worked well under Fedora 22; I just did the basic and fairly easy routine of downloading NetworkManager-l2tp and setting it up via the graphical interface. It was just fine for me, since - albeit being an old linux user - I never tried to understand how things really worked and was happy to let them to themselves. The thing is that, now that I'm back to Fedora (short detour with Ubuntu), it just doesn't work like it used to. All the settings are the same as before:

L2TP SETTINGS

*Gateway="uk.freel2tpvpn.com"; *Username="vpn"; *Password="freel2tp";

IPSEC SETTINGS

*Group Name=blank;
*Gateway ID=blank;
*Pre-shared key="freel2tp";

PPP SETTINGS

ALL BOXES TICKED;

Now, when I click on "connect", it simply fails, time after time. I don't know if there's a log to it - I'm just a dumb final user. I would so much appreciate if any of you could give me an answer - I'm missing my BBC programs!

Cheers from Brazil,

Gu

How do I configure a L2TP VPN?

Hello!

I used to connect to a VPN (freel2tpvpn.com), so I could watch BBC content via get_iplayer. It worked well under Fedora 22; I just did the basic and fairly easy routine of downloading NetworkManager-l2tp and setting it up via the graphical interface. It was just fine for me, since - albeit being an old linux user - I never tried to understand how things really worked and was happy to let them to themselves. The thing is that, now that I'm back to Fedora (short detour with Ubuntu), it just doesn't work like it used to. All the settings are the same as before:

L2TP SETTINGS

*Gateway="uk.freel2tpvpn.com"; *Username="vpn"; *Password="freel2tp";

IPSEC SETTINGS

*Group Name=blank;
*Gateway ID=blank;
*Pre-shared key="freel2tp";

PPP SETTINGS

ALL BOXES TICKED;

Now, when I click on "connect", it simply fails, time after time. I don't know if there's a log to it - I'm just a dumb final user. I would so much appreciate if any of you could give me an answer - I'm missing my BBC programs!

Cheers from Brazil,

Gu

P.S.: Hey, here's the log:

" Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <info> Starting VPN service 'l2tp'...

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <info> VPN service 'l2tp' started (org.freedesktop.NetworkManager.l2tp), PID 3094

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <info> VPN service 'l2tp' appeared; activating connections

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <info> VPN connection 'VPN 1' (ConnectInteractive) reply received.

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <info> VPN plugin state changed: starting (3)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: ** Message: Use '77.92.87.171' as a gateway

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: ** Message: Check port 1701

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: ** Message: ipsec enable flag: yes

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: ** Message: starting ipsec

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: systemd: ipsec service is not running

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: debugging mode enabled

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: end of file /var/run/nm-ipsec-l2tp.3094/ipsec.conf

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: Warning: ignored obsolete keyword 'nat_traversal'

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: Warning: ignored obsolete keyword 'force_keepalive'

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: Loading conn nm-ipsec-l2tpd-3094

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: starter: left is KH_DEFAULTROUTE

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" labeled_ipsec=0

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" policy_label=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" modecfgdomain=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" modecfgbanner=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" mark=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: connect(pluto_ctl) failed: No such file or directory

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: opening file: /var/run/nm-ipsec-l2tp.3094/ipsec.conf

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: loading named conns: nm-ipsec-l2tpd-3094

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: seeking_src = 0, seeking_gateway = 1, has_dst = 1

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst via 192.168.2.1 dev wlp2s0 src table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: set nexthop: 192.168.2.1

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.0 via dev wlp2s0 src 192.168.2.6 table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.0 via dev virbr0 src 192.168.124.1 table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.0.0.0 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.0.0.0 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.0.0.1 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.255.255.255 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.0 via dev wlp2s0 src 192.168.2.6 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.6 via dev wlp2s0 src 192.168.2.6 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.255 via dev wlp2s0 src 192.168.2.6 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.0 via dev virbr0 src 192.168.124.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.1 via dev virbr0 src 192.168.124.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.255 via dev virbr0 src 192.168.124.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: seeking_src = 1, seeking_gateway = 0, has_dst = 1

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.1 via dev wlp2s0 src 192.168.2.6 table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: set addr: 192.168.2.6

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: debugging mode enabled

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: end of file /var/run/nm-ipsec-l2tp.3094/ipsec.conf

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: Warning: ignored obsolete keyword 'nat_traversal'

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: Warning: ignored obsolete keyword 'force_keepalive'

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: Loading conn nm-ipsec-l2tpd-3094

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: starter: left is KH_DEFAULTROUTE

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" labeled_ipsec=0

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" policy_label=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" modecfgdomain=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" modecfgbanner=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: conn: "nm-ipsec-l2tpd-3094" mark=(null)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: connect(pluto_ctl) failed: No such file or directory

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: opening file: /var/run/nm-ipsec-l2tp.3094/ipsec.conf

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: loading named conns: nm-ipsec-l2tpd-3094

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: seeking_src = 0, seeking_gateway = 1, has_dst = 1

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst via 192.168.2.1 dev wlp2s0 src table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: set nexthop: 192.168.2.1

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.0 via dev wlp2s0 src 192.168.2.6 table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.0 via dev virbr0 src 192.168.124.1 table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.0.0.0 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.0.0.0 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.0.0.1 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 127.255.255.255 via dev lo src 127.0.0.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.0 via dev wlp2s0 src 192.168.2.6 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.6 via dev wlp2s0 src 192.168.2.6 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.255 via dev wlp2s0 src 192.168.2.6 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.0 via dev virbr0 src 192.168.124.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.1 via dev virbr0 src 192.168.124.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.124.255 via dev virbr0 src 192.168.124.1 table 255

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: seeking_src = 1, seeking_gateway = 0, has_dst = 1

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: dst 192.168.2.1 via dev wlp2s0 src 192.168.2.6 table 254 (ignored)

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: set addr: 192.168.2.6

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: whack: Pluto is not running (no "/var/run/pluto/pluto.ctl")

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <info> VPN connection 'VPN 1' (Connect) reply received.

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <warn> VPN connection 'VPN 1' failed to connect: 'Possible error in IPSec setup.'.

Fev 03 19:10:00 localhost.localdomain NetworkManager[891]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active. "