VPNC в NM не работает

Это Kubuntu 18.10. Я пытаюсь настроить VPNC в NetworkManager, однако он продолжает сбой:

Feb 27 11:15:58 k-desktop NetworkManager[979]: <info>  [1551266158.6814] audit: op="connection-activate" uuid="260019b1-d3a1-4b1c-8f10-c12551af3c9b" name="New vpn connection" pid=3326 uid=1000 result="success"
Feb 27 11:15:58 k-desktop NetworkManager[979]: <info>  [1551266158.6854] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",0]: Started the VPN service, PID 9815
Feb 27 11:15:58 k-desktop NetworkManager[979]: <info>  [1551266158.6968] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",0]: Saw the service appear; activating connection
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.1548] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",0]: VPN plugin: state changed: starting (3)
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.1703] manager: (tun0): new Tun device (/org/freedesktop/NetworkManager/Devices/6)
Feb 27 11:16:18 k-desktop systemd-udevd[9828]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.1746] devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.1746] device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3119] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",0]: VPN connection: (IP4 Config Get) reply received from old-style plugin
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3127] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data: VPN Gateway: 1.2.3.4
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3127] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data: Tunnel Device: "tun0"
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3127] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data: IPv4 configuration:
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3127] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data:   Internal Address: 10.8.1.131
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3128] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data:   Internal Prefix: 32
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3128] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data:   Internal Point-to-Point Address: 10.8.1.131
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3128] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data:   Static Route: 0.0.0.0/0   Next Hop: 0.0.0.0
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3129] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data:   Static Route: 10.8.1.131/32   Next Hop: 0.0.0.0
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3129] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data:   Internal DNS: 10.7.1.1
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3129] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data:   DNS Domain: '(none)'
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3130] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: Data: No IPv6 configuration
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3131] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: VPN plugin: state changed: started (4)
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3159] vpn-connection[0x55c826306310,260019b1-d3a1-4b1c-8f10-c12551af3c9b,"New vpn connection",6:(tun0)]: VPN connection: (IP Config Get) complete
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3165] device (tun0): state change: unmanaged -> unavailable (reason 'connection-assumed', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3260] keyfile: add connection in-memory (d5605c15-937e-440c-8578-7031cae77f87,"tun0")
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3265] device (tun0): state change: unavailable -> disconnected (reason 'connection-assumed', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop dbus-daemon[947]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.17' (uid=0 pid=979 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3272] device (tun0): Activation: starting connection 'tun0' (d5605c15-937e-440c-8578-7031cae77f87)
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3274] device (tun0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3278] device (tun0): state change: prepare -> config (reason 'none', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3281] device (tun0): state change: config -> ip-config (reason 'none', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3284] device (tun0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3293] device (tun0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3296] device (tun0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'external')
Feb 27 11:16:18 k-desktop systemd[1]: Starting Network Manager Script Dispatcher Service...
Feb 27 11:16:18 k-desktop NetworkManager[979]: <info>  [1551266178.3349] device (tun0): Activation: successful, device activated.
Feb 27 11:16:18 k-desktop dbus-daemon[947]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Feb 27 11:16:18 k-desktop systemd[1]: Started Network Manager Script Dispatcher Service.
Feb 27 11:16:18 k-desktop nm-dispatcher: req:1 'vpn-up' [tun0]: new request (1 scripts)
Feb 27 11:16:18 k-desktop nm-dispatcher: req:1 'vpn-up' [tun0]: start running ordered scripts...
Feb 27 11:16:18 k-desktop nm-dispatcher: req:2 'up' [tun0]: new request (1 scripts)
Feb 27 11:16:18 k-desktop systemd-resolved[869]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Feb 27 11:16:18 k-desktop nm-dispatcher: req:2 'up' [tun0]: start running ordered scripts...
Feb 27 11:16:18 k-desktop systemd-resolved[869]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.
Feb 27 11:16:18 k-desktop systemd-resolved[869]: Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP.

Но это работает, если я использую vpnc Команда в консоли.

0 ответов

Другие вопросы по тегам