OpenVPN이 몇 분 후에 중지되고 모든 시스템 네트워킹이 중단되는 것 같습니다.

OpenVPN이 몇 분 후에 중지되고 모든 시스템 네트워킹이 중단되는 것 같습니다.

OpenVPN 연결을 만들려고 합니다. Windows를 사용하는 동료들은 모든 것을 설정하는 자동 압축 풀기 실행 파일을 받았지만 저는 .ovpn그들의 구성에서 주요 파일을 복원할 수 있었습니다.

.opvn 말한다:

dev tun
persist-tun
persist-key
cipher AES-256-CBC
auth SHA1
tls-client
client
resolv-retry infinite
remote aaa.bbb.ccc.ddd 1194 udp
verify-x509-name "Bad_VPN" name
auth-user-pass
pkcs12 SomeKey.p12
tls-auth SomeKey-tls.key 1
ns-cert-type server
comp-lzo adaptive

비밀번호가 충분하면 연결이 시작되고 시스템에 ping을 보낼 수 있습니다. 그러나 VPN을 시작하고 즉시 pingVPN을 시작하면 계속 실행됩니다.

  • 약 1분 후에는 더 이상 ping 응답이 없습니다(no seq>57).
  • 약 1분 후에 마지막 ping 응답(seq=118인 응답)과 "tun0"이 비활성화되었다는 메시지를 받았습니다.

또한 VPN이 작동 중이면 연결된 네트워크에만 핑을 보낼 수 있습니다.

VPN이 시작되면 ip route다음이 표시됩니다.

default via 192.168.30.1 dev tun0  proto static  metric 50 
default via xxx.143.182.1 dev wlp4s0  proto static  metric 600 
xxx.0.136.31 via xxx.143.182.1 dev wlp4s0  proto dhcp  metric 600 
xxx.143.182.0/23 dev wlp4s0  proto kernel  scope link  src xxx.143.182.197  metric 600 
10.101.54.0/24 via 192.168.30.1 dev tun0  proto static  metric 50 
aaa.bbb.ccc.ddd via xxx.143.182.1 dev wlp4s0  proto static  metric 600 
192.168.30.0/24 dev tun0  proto kernel  scope link  src 192.168.30.3  metric 50 

비교를 위해 VPN을 사용하지 않을 경우:

default via xxx.143.182.1 dev wlp4s0  proto static  metric 600 
xxx.0.136.31 via xxx.143.182.1 dev wlp4s0  proto dhcp  metric 600 
xxx.143.182.0/23 dev wlp4s0  proto kernel  scope link  src xxx.143.182.197  metric 600 

( xxx.*.*.*제가 자주 사용하는 네트워크이며 aaa.bbb.ccc.dddVPN 게이트웨이입니다.)

/var/log/syslog설명하다:

Jan  2 15:41:51 Xenoid NetworkManager[1102]: <info>  [1514904111.3023] audit: op="connection-activate" uuid="46cde9dc-b96e-4a27-92f2-980856086015" name="ProblemVPN" pid=18679 uid=1000 result="success"
Jan  2 15:41:51 Xenoid NetworkManager[1102]: <info>  [1514904111.3124] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",0]: Started the VPN service, PID 14000
Jan  2 15:41:51 Xenoid NetworkManager[1102]: <info>  [1514904111.3289] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",0]: Saw the service appear; activating connection
Jan  2 15:41:51 Xenoid NetworkManager[1102]: nm-openvpn-Message: openvpn[14003] started
Jan  2 15:41:51 Xenoid NetworkManager[1102]: <info>  [1514904111.3433] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",0]: VPN plugin: state changed: starting (3)
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: library versions: OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: Control Channel Authentication: using '/home/me/.local/share/networkmanagement/certificates/SomeKey-tls.key' as a OpenVPN static key file
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: NOTE: chroot will be delayed because of --client, --pull, or --up-delay
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: UDPv4 link local: [undef]
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: UDPv4 link remote: [AF_INET]aaa.bbb.ccc.ddd:1194
Jan  2 15:41:51 Xenoid nm-openvpn[14003]: [Bad_VPN] Peer Connection Initiated with [AF_INET]aaa.bbb.ccc.ddd:1194
Jan  2 15:41:54 Xenoid nm-openvpn[14003]: TUN/TAP device tun0 opened
Jan  2 15:41:54 Xenoid nm-openvpn[14003]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper --bus-name org.freedesktop.NetworkManager.openvpn.Connection_113 --tun -- tun0 1500 1558 192.168.30.3 255.255.255.0 init
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0624] manager: (tun0): new Tun device (/org/freedesktop/NetworkManager/Devices/57)
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0688] devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0688] device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0733] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",0]: VPN connection: (IP Config Get) reply received.
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0752] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: VPN connection: (IP4 Config Get) reply received
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0758] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data: VPN Gateway: aaa.bbb.ccc.ddd
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0758] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data: Tunnel Device: "tun0"
Jan  2 15:41:54 Xenoid nm-openvpn[14003]: chroot to '/var/lib/openvpn/chroot' and cd to '/' succeeded
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0759] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data: IPv4 configuration:
Jan  2 15:41:54 Xenoid nm-openvpn[14003]: GID set to nm-openvpn
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0759] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   Internal Gateway: 192.168.30.1
Jan  2 15:41:54 Xenoid nm-openvpn[14003]: UID set to nm-openvpn
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0759] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   Internal Address: 192.168.30.3
Jan  2 15:41:54 Xenoid nm-openvpn[14003]: Initialization Sequence Completed
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0759] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   Internal Prefix: 24
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0759] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   Internal Point-to-Point Address: 192.168.30.3
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0759] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   Maximum Segment Size (MSS): 0
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0760] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   Static Route: 10.101.54.0/24   Next Hop: 192.168.30.1
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0760] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   Forbid Default Route: no
Jan  2 15:41:54 Xenoid acvpnagent[1851]: A new network interface has been detected.
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0760] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data:   DNS Domain: '(none)'
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: logInterfaces File: RouteMgr.cpp Line: 2105 Invoked Function: logInterfaces Return Code: 0 (0x00000000) Description: IP Address Interface List: xxx.143.163.90 FE80:0:0:0:8F3A:7426:4E4E:ADBC FE80:0:0:0:BE55:25A5:1450:A479
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0760] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: Data: No IPv6 configuration
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0761] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: VPN plugin: state changed: started (4)
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:41:54 Xenoid acvpnagent[1851]: A new network interface has been detected.
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: logInterfaces File: RouteMgr.cpp Line: 2105 Invoked Function: logInterfaces Return Code: 0 (0x00000000) Description: IP Address Interface List: xxx.143.163.90 192.168.30.3 FE80:0:0:0:8F3A:7426:4E4E:ADBC FE80:0:0:0:BE55:25A5:1450:A479
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0790] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: VPN connection: (IP Config Get) complete
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0792] device (tun0): state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0823] manager: NetworkManager state is now CONNECTED_LOCAL
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0824] manager: NetworkManager state is now CONNECTED_GLOBAL
Jan  2 15:41:54 Xenoid dbus[1080]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Jan  2 15:41:54 Xenoid systemd[1]: Starting Network Manager Script Dispatcher Service...
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0857] keyfile: add connection in-memory (e354d75d-c20c-49d7-ab96-8dc25ebc53d2,"tun0")
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0863] device (tun0): state change: unavailable -> disconnected (reason 'connection-assumed') [20 30 41]
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.0891] device (tun0): Activation: starting connection 'tun0' (e354d75d-c20c-49d7-ab96-8dc25ebc53d2)
Jan  2 15:41:54 Xenoid kernel: [1062318.614395] IPv4: martian source xxx.143.163.90 from xxx.0.136.50, on dev enp0s31f6
Jan  2 15:41:54 Xenoid kernel: [1062318.614398] ll header: 00000000: c8 5b 76 df 39 d9 0c 85 25 c0 64 c0 08 00        .[v.9...%.d...

[... repeated three times total ...] 

Jan  2 15:41:54 Xenoid dbus[1080]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jan  2 15:41:54 Xenoid systemd[1]: Started Network Manager Script Dispatcher Service.
Jan  2 15:41:54 Xenoid nm-dispatcher: req:1 'vpn-up' [tun0]: new request (1 scripts)
Jan  2 15:41:54 Xenoid nm-dispatcher: req:1 'vpn-up' [tun0]: start running ordered scripts...
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1088] device (tun0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1094] device (tun0): state change: prepare -> config (reason 'none') [40 50 0]
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1097] device (tun0): state change: config -> ip-config (reason 'none') [50 70 0]
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1099] device (tun0): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Jan  2 15:41:54 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1110] device (tun0): state change: ip-check -> secondaries (reason 'none') [80 xxx. 0]
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1113] device (tun0): state change: secondaries -> activated (reason 'none') [90 100 0]
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1138] manager: NetworkManager state is now CONNECTED_LOCAL
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1139] manager: NetworkManager state is now CONNECTED_GLOBAL
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1139] policy: set 'tun0' (tun0) as default for IPv4 routing and DNS
Jan  2 15:41:54 Xenoid NetworkManager[1102]: <info>  [1514904114.1140] device (tun0): Activation: successful, device activated.
Jan  2 15:41:54 Xenoid kernel: [1062318.640875] IPv4: martian source xxx.143.163.90 from 54.230.92.116, on dev enp0s31f6
Jan  2 15:41:54 Xenoid kernel: [1062318.640878] ll header: 00000000: c8 5b 76 df 39 d9 0c 85 25 c1 6b 40 08 00        .[v.9...%.k@..
Jan  2 15:41:54 Xenoid nm-dispatcher: req:2 'up' [tun0]: new request (1 scripts)
Jan  2 15:41:54 Xenoid org.kde.kdeconnect[18558]: kdeconnect.core: Broadcasting identity packet
Jan  2 15:41:54 Xenoid kernel: [1062318.654094] IPv4: martian source xxx.143.163.90 from xxx.0.136.50, on dev enp0s31f6
Jan  2 15:41:54 Xenoid kernel: [1062318.654096] ll header: 00000000: c8 5b 76 df 39 d9 0c 85 25 c0 64 c0 08 00        .[v.9...%.d...

[... More "martian source" and "ll header" messages ...]

Jan  2 15:41:59 Xenoid kernel: [1062323.619584] net_ratelimit: 14 callbacks suppressed

[... More "martian source" and "ll header" messages ...]

Jan  2 15:42:01 Xenoid org.kde.kdeconnect[18558]: kdeconnect.core: Broadcasting identity packet
Jan  2 15:42:04 Xenoid kernel: [1062328.625257] net_ratelimit: 6 callbacks suppressed

[... More "martian source" and "ll header" messages ...]

Jan  2 15:42:04 Xenoid nm-dispatcher: req:2 'up' [tun0]: start running ordered scripts...

[... More "martian source", "ll header", and "net_ratelimit" messages ...]

Jan  2 15:43:51 Xenoid nm-openvpn[14003]: [Bad_VPN] Inactivity timeout (--ping-restart), restarting
Jan  2 15:43:51 Xenoid nm-openvpn[14003]: SIGUSR1[soft,ping-restart] received, process restarting
Jan  2 15:43:52 Xenoid kernel: [1062436.606725] IPv4: martian source xxx.143.163.90 from xxx.0.136.50, on dev enp0s31f6
Jan  2 15:43:52 Xenoid kernel: [1062436.606750] ll header: 00000000: c8 5b 76 df 39 d9 0c 85 25 c0 64 c0 08 00        .[v.9...%.d...
Jan  2 15:43:52 Xenoid kernel: [1062436.610871] IPv4: martian source xxx.143.163.90 from xxx.0.138.50, on dev enp0s31f6
Jan  2 15:43:52 Xenoid kernel: [1062436.610894] ll header: 00000000: c8 5b 76 df 39 d9 0c 85 25 c0 64 c0 08 00        .[v.9...%.d...
Jan  2 15:43:53 Xenoid nm-openvpn[14003]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Jan  2 15:43:53 Xenoid nm-openvpn[14003]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan  2 15:43:53 Xenoid nm-openvpn[14003]: UDPv4 link local: [undef]
Jan  2 15:43:53 Xenoid nm-openvpn[14003]: UDPv4 link remote: [AF_INET]aaa.bbb.ccc.ddd:1194
Jan  2 15:43:53 Xenoid nm-openvpn[14003]: [Bad_VPN] Peer Connection Initiated with [AF_INET]aaa.bbb.ccc.ddd:1194
Jan  2 15:43:53 Xenoid kernel: [1062438.330281] IPv4: martian source xxx.143.163.90 from xxx.57.61.80, on dev enp0s31f6
Jan  2 15:43:53 Xenoid kernel: [1062438.330286] ll header: 00000000: c8 5b 76 df 39 d9 0c 85 25 c1 6b 40 08 00        .[v.9...%.k@..
Jan  2 15:43:55 Xenoid nm-openvpn[14003]: Preserving previous TUN/TAP instance: tun0
Jan  2 15:43:55 Xenoid nm-openvpn[14003]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper --bus-name org.freedesktop.NetworkManager.openvpn.Connection_113 --tun -- tun0 1500 1558 192.168.30.3 255.255.255.0 restart
Jan  2 15:43:55 Xenoid nm-openvpn[14003]: WARNING: Failed running command (--up/--down): could not execute external program
Jan  2 15:43:55 Xenoid nm-openvpn[14003]: Exiting due to fatal error
Jan  2 15:43:55 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:43:55 Xenoid acvpnagent[1851]: A network interface has gone down.
Jan  2 15:43:55 Xenoid acvpnagent[1851]: Function: logInterfaces File: RouteMgr.cpp Line: 2105 Invoked Function: logInterfaces Return Code: 0 (0x00000000) Description: IP Address Interface List: xxx.143.163.90 FE80:0:0:0:8F3A:7426:4E4E:ADBC
Jan  2 15:43:55 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <error> [1514904235.1882] platform-linux: do-add-ip4-route[24: 0.0.0.0/0 50]: failure 101 (Network is unreachable)
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <warn>  [1514904235.1883] default-route: failed to add default route 0.0.0.0/0 via 192.168.30.1 dev 24 metric 50 mss 0 src vpn with effective metric 50
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.1883] manager: NetworkManager state is now CONNECTED_LOCAL
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.1884] manager: NetworkManager state is now CONNECTED_GLOBAL
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.1885] policy: set 'ProblemVPN' (tun0) as default for IPv4 routing and DNS
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.1898] device (tun0): state change: activated -> unmanaged (reason 'unmanaged') [100 10 3]
Jan  2 15:43:55 Xenoid dbus[1080]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.1956] devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jan  2 15:43:55 Xenoid systemd[1]: Starting Network Manager Script Dispatcher Service...
Jan  2 15:43:55 Xenoid dbus[1080]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Jan  2 15:43:55 Xenoid systemd[1]: Started Network Manager Script Dispatcher Service.
Jan  2 15:43:55 Xenoid nm-dispatcher: req:1 'down' [tun0]: new request (1 scripts)
Jan  2 15:43:55 Xenoid nm-dispatcher: req:1 'down' [tun0]: start running ordered scripts...
Jan  2 15:43:55 Xenoid NetworkManager[1102]: (nm-openvpn-service:14000): nm-openvpn-WARNING **: openvpn[14003] exited with error code 1
Jan  2 15:43:55 Xenoid whoopsie[1562]: [15:43:55] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/113
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <warn>  [1514904235.2272] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: VPN plugin: failed: connect-failed (1)
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.2272] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: VPN plugin: state changed: stopping (5)
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.2272] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: VPN plugin: state changed: stopped (6)
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.2278] vpn-connection[0x1c2e630,46cde9dc-b96e-4a27-92f2-980856086015,"ProblemVPN",24:(tun0)]: VPN plugin: state change reason: unknown (0)
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.2278] manager: NetworkManager state is now CONNECTED_LOCAL
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <info>  [1514904235.2303] manager: NetworkManager state is now CONNECTED_GLOBAL
Jan  2 15:43:55 Xenoid NetworkManager[1102]: <error> [1514904235.2309] platform-linux: do-change-link[24]: failure changing link: failure 19 (No such device)
Jan  2 15:43:55 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:43:55 Xenoid nm-dispatcher: req:2 'vpn-down' [tun0]: new request (1 scripts)
Jan  2 15:43:55 Xenoid acvpnagent[1851]: Function: tableCallbackHandler File: RouteMgr.cpp Line: 1723 Invoked Function: recv Return Code: 11 (0x0000000B) Description: unknown
Jan  2 15:43:55 Xenoid nm-dispatcher: req:2 'vpn-down' [tun0]: start running ordered scripts...

NM GUI를 사용하여 자동 라우팅을 제거하려고 시도했지만 이 방법으로 작동하는 구성을 얻을 수 없었습니다. 또한 몇 가지 변형을 시도했지만 ip route del default via 192.168.30.1 dev tun0오류 메시지가 표시되지 않아도 경로가 지속됩니다.

어떤 아이디어가 있습니까(Windows VM을 시작하는 것 외에...)?

(K) 우분투 16.04 실행

고쳐 쓰다:좋아요, 거짓말했어요 :) 저도 도커를 가지고 있고 출력 docker0에서 ​​제거하고...NM GUI를 사용하여 연결을 끊는 것이 트릭인 것 같습니다. 2천만 번 실행했지만 몇 개의 패킷만 손실되었습니다(10/1261). 그러나 OpenVPN과 docker가 서로를 좋아하지 않는다는 힌트는 찾을 수 없습니다.ip routedocker0

업데이트 "2: 위의 작동 테스트는 이더넷을 통한 PLC를 통해 집에서 수행되었습니다. 따라서 간단한 홈 LAN에 대한 유선 연결을 통해 작동하지만 다음에서는 작동하지 않습니다.

  • 내부 회사 네트워크(Wi-Fi 또는 이더넷)
  • 회사 "게스트" Wi-Fi
  • 내 집 무선 네트워크
  • 내 휴대폰(Wi-Fi 호스트 포인트)
  • 내 휴대폰(USB 케이블 포함)

관련 정보