Description of problem: When vpn server reports ipsec-gateway-id different from 'vpn address', I set it manually in "ipsec settings" -> "gateway id" But connection still failed. Journalctl -xe reports, that NetworkManage-l2tp insert "@" before 'ipaddr'.
The "@" before 'ipaddr' issue is fixed upstream in this commit : https://github.com/nm-l2tp/network-manager-l2tp/commit/ed15e04278c2053abef0041e9947a0dcf7424209 and will be made available with NetworkManager-l2tp 1.2.4 Does is not work if you leave the Gateway ID field blank in the IPsec configuration dialog box? Most people are able to getaway with not filling in that field.
When Gateway ID field blank connection failed with "we require IKEv1 peer to have ID 'ip.addr1' , but peer declares 'ip.addr2'" where ip.addr1 is vpn server address (from dns), ip.addr2 - reported gw id Now I am using ip.addr2 as a vpn address, so I can wait 1.2.4 in testing repo. thx
There are ongoing issues with the newer version and then I went on long service leave which prevent me working on the code. I'll try and do an interim RPM with a back ported patch which I'll work on in the next couple of days. The new version of NetworkManager-l2tp is still some way away as I keep discovering issues and bugs.
I've created a git snapshot RPMs of the upcoming NetworkManager-l2tp 1.2.4 : https://copr.fedorainfracloud.org/coprs/dkosovic/nm-l2tp/ alternatively if want to manually install the two RPMs (i.e. NM-l2tp and NM-l2tp-gnome), find them here: https://copr-be.cloud.fedoraproject.org/results/dkosovic/nm-l2tp/fedora-24-x86_64/00455380-NetworkManager-l2tp/ The git snapshot version is usable and fixes many issues compared to version 1.2.2. I still have a few bug fixes that exist in all current versions related to when some wrong IPsec arguments are supplied in the GUI resulting in the ipsec start command not finishing. Once I've updated the code, I'll release 1.2.4 proper.
NetworkManager-l2tp-1.2.4-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-863a28c489
NetworkManager-l2tp-1.2.4-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-863a28c489
NetworkManager-l2tp-1.2.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.