nm-l2tp / NetworkManager-l2tp

L2TP and L2TP/IPsec support for NetworkManager
GNU General Public License v2.0
488 stars 84 forks source link

l2tp settings missing advanced settings on KDE 5 #61

Closed Deckee closed 7 years ago

Deckee commented 7 years ago

KDE 5 mint 18.2 image lubuntu 17.04 20170824_063529

Device: Dell N5050 Boot:dosmbr Cputype:x86_64 Cpu:2350m

dkosovic commented 7 years ago

See the KDE Plasma < 5.11 and legacy IPsec IKEv1 ciphers section in the Wiki :

Another workaround is to replace strongswan with libreswan which generally doesn't need the Phase 1 and Phase 2 algorithms to be set, by issuing the following:

sudo apt install libreswan
Deckee commented 7 years ago

That didn't fix the issue, I never had strongswan or openswan, but kde thinks they are there but they are not, I'm using mint kde 18.2. The kde 5.11 update will take a while I'm on kde 5.8.7, a temporary fix would be making you own window that would be open form bash to configure the cyphers.

dkosovic commented 7 years ago

If I'm not mistaken, Mint 18.2 is a derivative of Ubuntu 16.04.2 LTS. Are you using the following PPA packages with Mint?

The PPA network-manager-l2tp package has a dependency on strongswan or libreswan. I backported libreswan from Ubuntu 17.04 and made it available for 16.04 in that same PPA repository.

With libreswan you do not need to add 3des-sha1-mod1024 and 3des-sha1 in the advanced section like you do with strongswan.

I don't understand what didn't fix the issue? using/usr/bin/nm-connection-editor to edit the connection or installing libreswan? I never mentioned openswan and network-manager-l2tp isn't compatible with it anyway.

It is possible submit a Mint KDE Plasma bug and request that the patch be backported to the Plasma 5.8.7 package. It should apply cleanly as the code hasn't changed in a while.

NetworkManager has had a command-line interface since version 1.2.0, you can use it to edit VPN connections. But I still think installing libreswan is the simplest option.

As the network-manager-l2tp package isn't an offcial Mint 18 package, I'm not surprised that the KDE Plasma Networkmanagement package doesn't have a dependency on network-manager-l2tp and transitively on strongswan or libreswan.

Debian Sid now has network-manager-l2tp which means when Mint 19 is released, it will officially have a network-manager-l2tp package. But there were only 5 votes to have the package backported to an official ubuntu 16.04 / Mint 18 repository in the bug report I submitted, so don't expect it to happen as there seems to be little end user interest as they seem happy to use the PPA repository.

Deckee commented 7 years ago

I will just wait for the mint kde team to push the new kde at the end of the year. I will use tor for the time being, and use a custom dns to get around the blocking on the network i use my vpn on.