Dear All,
I am trying to establish a L2TP/IPSec VPN connection, but with no success.
Could you please help me to stop the cause of the problem? You can
find below the logs.
Thanks in advance,
Paul
---------------------
# journalctl -f --since 18:50:00 --until 18:50:26 -u NetworkManager
-- Logs begin at Wed 2017-12-27 10:25:41 WET. --
Jul 03 18:50:03 xhost NetworkManager[900]: <info> [1530640203.0326]
audit: op="connection-activate"
uuid="915d709a-49b3-4928-8d5e-0f7e7a4de99a" name="FEP VPN 3" pid=1549
uid=1000 result="success"
Jul 03 18:50:03 xhost NetworkManager[900]: <info> [1530640203.0399]
vpn-connection[0x5630b8516360,915d709a-49b3-4928-8d5e-0f7e7a4de99a,"FEP
VPN 3",0]: Started the VPN service, PID 14574
Jul 03 18:50:03 xhost NetworkManager[900]: <info> [1530640203.0498]
vpn-connection[0x5630b8516360,915d709a-49b3-4928-8d5e-0f7e7a4de99a,"FEP
VPN 3",0]: Saw the service appear; activating connection
Jul 03 18:50:03 xhost NetworkManager[900]: <info> [1530640203.1574]
vpn-connection[0x5630b8516360,915d709a-49b3-4928-8d5e-0f7e7a4de99a,"FEP
VPN 3",0]: VPN connection: (ConnectInteractive) reply received
Jul 03 18:50:03 xhost nm-l2tp-service[14574]: Check port 1701
Jul 03 18:50:03 xhost NetworkManager[900]: Redirecting to: systemctl
stop ipsec.service
Jul 03 18:50:03 xhost NetworkManager[900]: 002
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: deleting state
(STATE_MAIN_I1)
Jul 03 18:50:03 xhost NetworkManager[900]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost libipsecconf[14605]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost NetworkManager[900]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost libipsecconf[14610]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost NetworkManager[900]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost libipsecconf[14623]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost NetworkManager[900]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost libipsecconf[14628]: warning: could not open
include filename: '/etc/ipsec.d/*.conf'
Jul 03 18:50:03 xhost NetworkManager[900]: Redirecting to: systemctl
start ipsec.service
Jul 03 18:50:04 xhost NetworkManager[900]: 002 listening for IKE messages
Jul 03 18:50:04 xhost NetworkManager[900]: 002 adding interface
enp3s0/enp3s0 192.168.1.4:500
Jul 03 18:50:04 xhost NetworkManager[900]: 002 adding interface
enp3s0/enp3s0 192.168.1.4:4500
Jul 03 18:50:04 xhost NetworkManager[900]: 002 adding interface lo/lo
127.0.0.1:500
Jul 03 18:50:04 xhost NetworkManager[900]: 002 adding interface lo/lo
127.0.0.1:4500
Jul 03 18:50:04 xhost NetworkManager[900]: 002 adding interface lo/lo ::1:500
Jul 03 18:50:04 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.secrets"
Jul 03 18:50:04 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-06788735-e3e9-4051-a515-c7d9ed14aee7.secrets"
Jul 03 18:50:04 xhost NetworkManager[900]: 003 WARNING: using a weak
secret (PSK)
Jul 03 18:50:04 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.secrets"
Jul 03 18:50:04 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-abea2bcd-c2b7-46a8-993d-0f44aa7d6075.secrets"
Jul 03 18:50:04 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-eea9d5c0-b3b5-4a28-83a1-13b0ced7f080.secrets"
Jul 03 18:50:05 xhost NetworkManager[900]: 002 listening for IKE messages
Jul 03 18:50:05 xhost NetworkManager[900]: 002 forgetting secrets
Jul 03 18:50:05 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.secrets"
Jul 03 18:50:05 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-06788735-e3e9-4051-a515-c7d9ed14aee7.secrets"
Jul 03 18:50:05 xhost NetworkManager[900]: 003 WARNING: using a weak
secret (PSK)
Jul 03 18:50:05 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.secrets"
Jul 03 18:50:05 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-abea2bcd-c2b7-46a8-993d-0f44aa7d6075.secrets"
Jul 03 18:50:05 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-eea9d5c0-b3b5-4a28-83a1-13b0ced7f080.secrets"
Jul 03 18:50:06 xhost NetworkManager[900]: 002 listening for IKE messages
Jul 03 18:50:06 xhost NetworkManager[900]: 002 forgetting secrets
Jul 03 18:50:06 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.secrets"
Jul 03 18:50:06 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-06788735-e3e9-4051-a515-c7d9ed14aee7.secrets"
Jul 03 18:50:06 xhost NetworkManager[900]: 003 WARNING: using a weak
secret (PSK)
Jul 03 18:50:06 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.secrets"
Jul 03 18:50:06 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-abea2bcd-c2b7-46a8-993d-0f44aa7d6075.secrets"
Jul 03 18:50:06 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-eea9d5c0-b3b5-4a28-83a1-13b0ced7f080.secrets"
Jul 03 18:50:07 xhost NetworkManager[900]: 002 listening for IKE messages
Jul 03 18:50:07 xhost NetworkManager[900]: 002 forgetting secrets
Jul 03 18:50:07 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.secrets"
Jul 03 18:50:07 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-06788735-e3e9-4051-a515-c7d9ed14aee7.secrets"
Jul 03 18:50:07 xhost NetworkManager[900]: 003 WARNING: using a weak
secret (PSK)
Jul 03 18:50:07 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.secrets"
Jul 03 18:50:07 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-abea2bcd-c2b7-46a8-993d-0f44aa7d6075.secrets"
Jul 03 18:50:07 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-eea9d5c0-b3b5-4a28-83a1-13b0ced7f080.secrets"
Jul 03 18:50:08 xhost NetworkManager[900]: 002 listening for IKE messages
Jul 03 18:50:08 xhost NetworkManager[900]: 002 forgetting secrets
Jul 03 18:50:08 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.secrets"
Jul 03 18:50:08 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-06788735-e3e9-4051-a515-c7d9ed14aee7.secrets"
Jul 03 18:50:08 xhost NetworkManager[900]: 003 WARNING: using a weak
secret (PSK)
Jul 03 18:50:08 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.secrets"
Jul 03 18:50:08 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-abea2bcd-c2b7-46a8-993d-0f44aa7d6075.secrets"
Jul 03 18:50:08 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-eea9d5c0-b3b5-4a28-83a1-13b0ced7f080.secrets"
Jul 03 18:50:09 xhost NetworkManager[900]: 002 listening for IKE messages
Jul 03 18:50:09 xhost NetworkManager[900]: 002 forgetting secrets
Jul 03 18:50:09 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.secrets"
Jul 03 18:50:09 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-06788735-e3e9-4051-a515-c7d9ed14aee7.secrets"
Jul 03 18:50:09 xhost NetworkManager[900]: 003 WARNING: using a weak
secret (PSK)
Jul 03 18:50:09 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.secrets"
Jul 03 18:50:09 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-abea2bcd-c2b7-46a8-993d-0f44aa7d6075.secrets"
Jul 03 18:50:09 xhost NetworkManager[900]: 002 loading secrets from
"/etc/ipsec.d/nm-l2tp-ipsec-eea9d5c0-b3b5-4a28-83a1-13b0ced7f080.secrets"
Jul 03 18:50:09 xhost NetworkManager[900]: debugging mode enabled
Jul 03 18:50:09 xhost NetworkManager[900]: end of file
/var/run/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.conf
Jul 03 18:50:10 xhost NetworkManager[900]: Loading conn
915d709a-49b3-4928-8d5e-0f7e7a4de99a
Jul 03 18:50:10 xhost NetworkManager[900]: starter: left is KH_DEFAULTROUTE
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" labeled_ipsec=0
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" modecfgdns=(null)
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" modecfgdomains=(null)
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" modecfgbanner=(null)
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" mark=(null)
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" mark-in=(null)
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" mark-out=(null)
Jul 03 18:50:10 xhost NetworkManager[900]: conn:
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" vti_iface=(null)
Jul 03 18:50:10 xhost NetworkManager[900]: opening file:
/var/run/nm-l2tp-ipsec-915d709a-49b3-4928-8d5e-0f7e7a4de99a.conf
Jul 03 18:50:10 xhost NetworkManager[900]: loading named conns:
915d709a-49b3-4928-8d5e-0f7e7a4de99a
Jul 03 18:50:10 xhost NetworkManager[900]: seeking_src = 1,
seeking_gateway = 1, has_peer = 1
Jul 03 18:50:10 xhost NetworkManager[900]: seeking_src = 0,
seeking_gateway = 1, has_dst = 1
Jul 03 18:50:10 xhost NetworkManager[900]: dst via 192.168.1.1 dev
enp3s0 src table 254
Jul 03 18:50:10 xhost NetworkManager[900]: set nexthop: 192.168.1.1
Jul 03 18:50:10 xhost NetworkManager[900]: dst 192.168.1.0 via dev
enp3s0 src 192.168.1.4 table 254
Jul 03 18:50:10 xhost NetworkManager[900]: dst 193.136.25.122 via
192.168.1.1 dev enp3s0 src 192.168.1.4 table 254
Jul 03 18:50:10 xhost NetworkManager[900]: dst 193.136.31.10 via
192.168.1.1 dev enp3s0 src 192.168.1.4 table 254
Jul 03 18:50:10 xhost NetworkManager[900]: dst 127.0.0.0 via dev lo
src 127.0.0.1 table 255 (ignored)
Jul 03 18:50:10 xhost NetworkManager[900]: dst 127.0.0.1 via dev lo
src 127.0.0.1 table 255 (ignored)
Jul 03 18:50:10 xhost NetworkManager[900]: dst 127.255.255.255 via
dev lo src 127.0.0.1 table 255 (ignored)
Jul 03 18:50:10 xhost NetworkManager[900]: dst 192.168.1.0 via dev
enp3s0 src 192.168.1.4 table 255 (ignored)
Jul 03 18:50:10 xhost NetworkManager[900]: dst 192.168.1.4 via dev
enp3s0 src 192.168.1.4 table 255 (ignored)
Jul 03 18:50:10 xhost NetworkManager[900]: dst 192.168.1.255 via dev
enp3s0 src 192.168.1.4 table 255 (ignored)
Jul 03 18:50:10 xhost NetworkManager[900]: seeking_src = 1,
seeking_gateway = 0, has_peer = 1
Jul 03 18:50:10 xhost NetworkManager[900]: seeking_src = 1,
seeking_gateway = 0, has_dst = 1
Jul 03 18:50:10 xhost NetworkManager[900]: dst 192.168.1.1 via dev
enp3s0 src 192.168.1.4 table 254
Jul 03 18:50:10 xhost NetworkManager[900]: set addr: 192.168.1.4
Jul 03 18:50:10 xhost NetworkManager[900]: seeking_src = 0,
seeking_gateway = 0, has_peer = 1
Jul 03 18:50:10 xhost NetworkManager[900]: 002
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: initiating Main Mode
Jul 03 18:50:10 xhost NetworkManager[900]: 104
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: STATE_MAIN_I1: initiate
Jul 03 18:50:10 xhost NetworkManager[900]: 003
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: ignoring informational
payload NO_PROPOSAL_CHOSEN, msgid=00000000, length=12
Jul 03 18:50:10 xhost NetworkManager[900]: 003
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: received and ignored
informational message
Jul 03 18:50:10 xhost NetworkManager[900]: 010
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: STATE_MAIN_I1:
retransmission; will wait 0.5 seconds for response
Jul 03 18:50:11 xhost NetworkManager[900]: 010
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: STATE_MAIN_I1:
retransmission; will wait 1 seconds for response
Jul 03 18:50:12 xhost NetworkManager[900]: 010
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: STATE_MAIN_I1:
retransmission; will wait 2 seconds for response
Jul 03 18:50:14 xhost NetworkManager[900]: 010
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: STATE_MAIN_I1:
retransmission; will wait 4 seconds for response
Jul 03 18:50:18 xhost NetworkManager[900]: 010
"915d709a-49b3-4928-8d5e-0f7e7a4de99a" #1: STATE_MAIN_I1:
retransmission; will wait 8 seconds for response
Jul 03 18:50:19 xhost nm-l2tp-service[14574]:
g_dbus_method_invocation_take_error: assertion 'error != NULL' failed
Jul 03 18:50:19 xhost NetworkManager[900]: <info> [1530640219.9955]
vpn-connection[0x5630b8516360,915d709a-49b3-4928-8d5e-0f7e7a4de99a,"FEP
VPN 3",0]: VPN plugin: state changed: stopped (6)
Jul 03 18:50:19 xhost NetworkManager[900]: <info> [1530640219.9982]
vpn-connection[0x5630b8516360,915d709a-49b3-4928-8d5e-0f7e7a4de99a,"FEP
VPN 3",0]: VPN service disappeared
Jul 03 18:50:19 xhost NetworkManager[900]: <warn> [1530640219.9993]
vpn-connection[0x5630b8516360,915d709a-49b3-4928-8d5e-0f7e7a4de99a,"FEP
VPN 3",0]: VPN connection: failed to connect: 'Message recipient
disconnected from message bus without replying'
#