Всем привет!
Перестал у manjaro работать vpn l2tp, поставил CachyOS тоже не работает.
Пишет: Не удалось запустить службу, обеспечивающую VPN-соединения «vpn-fontanka».
На Windows 11 все нормально работает.
Сервер vpn настроен на mikrotik.
Раньше все работало.
Как починить?
Log:
journalctl -u NetworkManager -f
ноя 14 11:47:20 dima-x3d NetworkManager[917]: <info> [1794646040.9680] audit: op="statistics" interface="enp13s0" ifindex=2 args="0" pid=1333 uid=1000 result="success"
ноя 14 11:47:24 dima-x3d ipsec_starter[5911]: starter_stop_charon(): charon does not respond, sending KILL
ноя 14 11:47:24 dima-x3d ipsec_starter[5911]: child 5912 (charon) has been killed by sig 9
ноя 14 11:47:24 dima-x3d ipsec_starter[5911]:
ноя 14 11:47:24 dima-x3d ipsec_starter[5911]: charon stopped after 8200 ms
ноя 14 11:47:24 dima-x3d ipsec_starter[5911]: ipsec starter stopped
ноя 14 11:47:24 dima-x3d nm-l2tp-service[5894]: Could not establish IPsec connection.
ноя 14 11:47:24 dima-x3d NetworkManager[917]: <warn> [1794646044.6727] vpn[0x55792777b160,47cd9c21-f239-4ec8-89b5-c2594c5ec6be,"vpn-fontanka"]: failed to connect: 'Could not establish IPsec connection.'
ноя 14 11:47:28 dima-x3d NetworkManager[917]: <info> [1794646048.3777] audit: op="statistics" interface="enp13s0" ifindex=2 args="2000" pid=1333 uid=1000 result="success"
ноя 14 11:47:30 dima-x3d NetworkManager[917]: <info> [1794646050.8217] audit: op="statistics" interface="enp13s0" ifindex=2 args="0" pid=1333 uid=1000 result="success"
ноя 14 11:49:38 dima-x3d NetworkManager[917]: <info> [1794646178.4750] audit: op="statistics" interface="enp13s0" ifindex=2 args="2000" pid=1333 uid=1000 result="success"
ноя 14 11:49:41 dima-x3d NetworkManager[917]: <info> [1794646181.4349] vpn[0x55792777b160,47cd9c21-f239-4ec8-89b5-c2594c5ec6be,"vpn-fontanka"]: starting l2tp
ноя 14 11:49:41 dima-x3d NetworkManager[917]: <info> [1794646181.4351] audit: op="connection-activate" uuid="47cd9c21-f239-4ec8-89b5-c2594c5ec6be" name="vpn-fontanka" pid=1333 uid=1000 result="success"
ноя 14 11:49:41 dima-x3d nm-l2tp-service[7057]: nm-l2tp-service (version 1.52.6) starting...
ноя 14 11:49:41 dima-x3d nm-l2tp-service[7057]: resolved L2TP gateway '77.71.49.180' to 77.71.49.180
ноя 14 11:49:41 dima-x3d nm-l2tp-service[7057]: Check port 1701
ноя 14 11:49:41 dima-x3d nm-l2tp-service[7057]: /usr/bin/ipsec status > /dev/null 2>&1
ноя 14 11:49:41 dima-x3d nm-l2tp-service[7057]: /usr/bin/ipsec start --conf /var/run/nm-l2tp-47cd9c21-f239-4ec8-89b5-c2594c5ec6be/ipsec.conf --debug
ноя 14 11:49:41 dima-x3d NetworkManager[7071]: Starting strongSwan 6.1.0 IPsec [starter]...
ноя 14 11:49:41 dima-x3d NetworkManager[7071]: Loading config setup
ноя 14 11:49:41 dima-x3d NetworkManager[7071]: Loading conn '47cd9c21-f239-4ec8-89b5-c2594c5ec6be'
ноя 14 11:49:41 dima-x3d ipsec_starter[7071]: Starting strongSwan 6.1.0 IPsec [starter]...
ноя 14 11:49:41 dima-x3d ipsec_starter[7071]: Loading config setup
ноя 14 11:49:41 dima-x3d ipsec_starter[7071]: Loading conn '47cd9c21-f239-4ec8-89b5-c2594c5ec6be'
ноя 14 11:49:41 dima-x3d ipsec_starter[7074]: Attempting to start charon...
ноя 14 11:49:41 dima-x3d charon[7075]: 00[DMN] Starting IKE charon daemon (strongSwan 6.1.0, Linux 6.18.55-1-MANJARO, x86_64)
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] PKCS11 module '<name>' lacks library path
ноя 14 11:49:41 dima-x3d charon[7075]: 00[LIB] providers loaded by OpenSSL: legacy default
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] using '/sbin/resolvconf' to install DNS servers
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] attr-sql plugin: database URI not set
ноя 14 11:49:41 dima-x3d charon[7075]: 00[NET] using forecast interface enp13s0
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] joining forecast multicast groups: 224.0.0.1,224.0.0.22,224.0.0.251,224.0.0.252,239.255.255.250
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loading ca certificates from '/etc/ipsec.d/cacerts'
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loading aa certificates from '/etc/ipsec.d/aacerts'
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loading ocsp signer certificates from '/etc/ipsec.d/ocspcerts'
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loading attribute certificates from '/etc/ipsec.d/acerts'
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loading crls from '/etc/ipsec.d/crls'
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loading secrets from '/etc/ipsec.secrets'
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loading secrets from '/etc/ipsec.d/ipsec.nm-l2tp.secrets'
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loaded IKE secret for %any
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] sql plugin: database URI not set
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] opening triplet file /etc/ipsec.d/triplets.dat failed: No such file or directory
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] loaded 0 RADIUS server configurations
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] HA config misses local/remote address
ноя 14 11:49:41 dima-x3d charon[7075]: 00[CFG] no script for ext-auth script defined, disabled
ноя 14 11:49:41 dima-x3d charon[7075]: 00[LIB] loaded plugins: charon ldap pkcs11 aesni sha3 mgf1 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pgp dnskey sshkey pem openssl pkcs8 fips-prf gmp agent chapoly xcbc cmac kdf ml drbg curl mysql sqlite attr kernel-netlink resolve socket-default bypass-lan connmark forecast farp stroke vici updown eap-identity eap-sim eap-aka eap-aka-3gpp2 eap-simaka-pseudonym eap-simaka-reauth eap-md5 eap-gtc eap-mschapv2 eap-dynamic eap-radius eap-tls eap-ttls eap-peap xauth-eap xauth-pam xauth-noauth dhcp radattr unity counters
ноя 14 11:49:41 dima-x3d charon[7075]: 00[LIB] dropped capabilities, running as uid 0, gid 0
ноя 14 11:49:41 dima-x3d charon[7075]: 00[JOB] spawning 16 worker threads
ноя 14 11:49:41 dima-x3d charon[7075]: 05[IKE] installed bypass policy for 172.16.6.0/24
ноя 14 11:49:41 dima-x3d ipsec_starter[7074]: charon (7075) started after 40 ms
ноя 14 11:49:41 dima-x3d charon[7075]: 11[CFG] received stroke: add connection '47cd9c21-f239-4ec8-89b5-c2594c5ec6be'
ноя 14 11:49:41 dima-x3d charon[7075]: 11[CFG] added configuration '47cd9c21-f239-4ec8-89b5-c2594c5ec6be'
ноя 14 11:49:42 dima-x3d charon[7075]: 14[CFG] rereading secrets
ноя 14 11:49:42 dima-x3d charon[7075]: 14[CFG] loading secrets from '/etc/ipsec.secrets'
ноя 14 11:49:42 dima-x3d charon[7075]: 14[CFG] loading secrets from '/etc/ipsec.d/ipsec.nm-l2tp.secrets'
ноя 14 11:49:42 dima-x3d charon[7075]: 14[CFG] loaded IKE secret for %any
ноя 14 11:49:42 dima-x3d nm-l2tp-service[7057]: /usr/bin/ipsec up 47cd9c21-f239-4ec8-89b5-c2594c5ec6be
ноя 14 11:49:42 dima-x3d charon[7075]: 15[CFG] received stroke: initiate '47cd9c21-f239-4ec8-89b5-c2594c5ec6be'
ноя 14 11:49:42 dima-x3d charon[7075]: 06[IKE] IKE version 1 not supported
ноя 14 11:49:42 dima-x3d NetworkManager[7117]: establishing connection '47cd9c21-f239-4ec8-89b5-c2594c5ec6be' failed
ноя 14 11:49:42 dima-x3d NetworkManager[7123]: Stopping strongSwan IPsec...
ноя 14 11:49:42 dima-x3d charon[7075]: 00[DMN] SIGINT received, shutting down
ноя 14 11:49:42 dima-x3d charon[7075]: 00[IKE] uninstalling bypass policy for 172.16.6.0/24
ноя 14 11:49:50 dima-x3d ipsec_starter[7074]: starter_stop_charon(): charon does not respond, sending KILL
ноя 14 11:49:50 dima-x3d ipsec_starter[7074]: child 7075 (charon) has been killed by sig 9
ноя 14 11:49:50 dima-x3d ipsec_starter[7074]:
ноя 14 11:49:50 dima-x3d ipsec_starter[7074]: charon stopped after 8200 ms
ноя 14 11:49:50 dima-x3d ipsec_starter[7074]: ipsec starter stopped
ноя 14 11:49:50 dima-x3d nm-l2tp-service[7057]: Could not establish IPsec connection.
ноя 14 11:49:50 dima-x3d NetworkManager[917]: <warn> [1794646190.7801] vpn[0x55792777b160,47cd9c21-f239-4ec8-89b5-c2594c5ec6be,"vpn-fontanka"]: failed to connect: 'Could not establish IPsec connection.'
ноя 14 11:49:54 dima-x3d NetworkManager[917]: <info> [1794646194.5701] audit: op="statistics" interface="enp13s0" ifindex=2 args="0" pid=1333 uid=1000 result="success"
❯ journalctl -g "charon"
-- Boot 351104f4ef66456ab0bb07425ef942bc --
ноя 11 10:18:21 dima-x3d ipsec_starter[16054]: Attempting to start charon...
ноя 11 10:18:21 dima-x3d charon[16056]: 00[DMN] Starting IKE charon daemon (strongSwan 6.1.0, Linux 6.18.55-1-MANJARO, x86_64)
ноя 11 10:18:21 dima-x3d charon[16056]: 00[LIB] loaded plugins: charon ldap pkcs11 aesni sha3 mgf1 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pgp dnskey sshkey pem >
ноя 11 10:18:21 dima-x3d ipsec_starter[16054]: charon (16056) started after 80 ms
ноя 11 10:18:31 dima-x3d ipsec_starter[16054]: starter_stop_charon(): charon does not respond, sending KILL
ноя 11 10:18:31 dima-x3d ipsec_starter[16054]: child 16056 (charon) has been killed by sig 9
ноя 11 10:18:31 dima-x3d ipsec_starter[16054]: charon stopped after 8200 ms
ноя 11 10:23:35 dima-x3d ipsec_starter[17316]: Attempting to start charon...
ноя 11 10:23:35 dima-x3d charon[17318]: 00[DMN] Starting IKE charon daemon (strongSwan 6.1.0, Linux 6.18.55-1-MANJARO, x86_64)
ноя 11 10:23:35 dima-x3d charon[17318]: 00[LIB] loaded plugins: charon ldap pkcs11 aesni sha3 mgf1 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pgp dnskey sshkey pem >
ноя 11 10:23:35 dima-x3d ipsec_starter[17316]: charon (17318) started after 40 ms
ноя 11 10:23:44 dima-x3d ipsec_starter[17316]: starter_stop_charon(): charon does not respond, sending KILL
ноя 11 10:23:44 dima-x3d ipsec_starter[17316]: child 17318 (charon) has been killed by sig 9
ноя 11 10:23:44 dima-x3d ipsec_starter[17316]: charon stopped after 8200 ms
ноя 11 10:48:22 dima-x3d ipsec_starter[20165]: Attempting to start charon...
ноя 11 10:48:22 dima-x3d charon[20167]: 00[DMN] Starting IKE charon daemon (strongSwan 6.1.0, Linux 6.18.55-1-MANJARO, x86_64)
ноя 11 10:48:22 dima-x3d charon[20167]: 00[LIB] loaded plugins: charon ldap pkcs11 aesni sha3 mgf1 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pgp dnskey sshkey pem >
ноя 11 10:48:22 dima-x3d ipsec_starter[20165]: charon (20167) started after 40 ms
ноя 11 10:48:32 dima-x3d ipsec_starter[20165]: starter_stop_charon(): charon does not respond, sending KILL
ноя 11 10:48:32 dima-x3d ipsec_starter[20165]: child 20167 (charon) has been killed by sig 9
ноя 11 10:48:32 dima-x3d ipsec_starter[20165]: charon stopped after 8200 ms
ноя 11 10:50:29 dima-x3d ipsec_starter[20689]: Attempting to start charon...
ноя 11 10:50:29 dima-x3d charon[20691]: 00[DMN] Starting IKE charon daemon (strongSwan 6.1.0, Linux 6.18.55-1-MANJARO, x86_64)
ноя 11 10:50:29 dima-x3d charon[20691]: 00[LIB] loaded plugins: charon ldap pkcs11 aesni sha3 mgf1 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pgp dnskey sshkey pem >
ноя 11 10:50:29 dima-x3d ipsec_starter[20689]: charon (20691) started after 40 ms
ноя 11 10:50:39 dima-x3d ipsec_starter[20689]: starter_stop_charon(): charon does not respond, sending KILL
ноя 11 10:50:39 dima-x3d ipsec_starter[20689]: child 20691 (charon) has been killed by sig 9
ноя 11 10:50:39 dima-x3d ipsec_starter[20689]: charon stopped after 8200 ms
ноя 11 10:52:13 dima-x3d ipsec_starter[21103]: Attempting to start charon...
ноя 11 10:52:13 dima-x3d charon[21105]: 00[DMN] Starting IKE charon daemon (strongSwan 6.1.0, Linux 6.18.55-1-MANJARO, x86_64)
ноя 11 10:52:13 dima-x3d charon[21105]: 00[LIB] loaded plugins: charon ldap pkcs11 aesni sha3 mgf1 random nonce x509 revocation constraints pubkey pkcs1 pkcs7 pgp dnskey sshkey pem >
ноя 11 10:52:13 dima-x3d ipsec_starter[21103]: charon (21105) started after 40 ms
ноя 11 10:52:22 dima-x3d ipsec_starter[21103]: starter_stop_charon(): charon does not respond, sending KILL
ноя 11 10:52:22 dima-x3d ipsec_starter[21103]: child 21105 (charon) has been killed by sig 9
ноя 11 10:52:22 dima-x3d ipsec_starter[21103]: charon stopped after 8200 ms
lines 1-36

