openvpn disconnects spontaneously



  • hello IT.
    openvpn disconnects spontaneously impossible to reconnect sometimes during 10 15 minutes and unblocks itself .
    Best regards


  • Rebel Alliance Developer Netgate

    @joris44 said in openvpn disconnects spontaneously:

    hello IT.

    Have you tried turning it off and on again?

    openvpn disconnects spontaneously impossible to reconnect sometimes during 10 15 minutes and unblocks itself .

    Can you post the contents of the client and server logs from when it disconnects and reconnects?



  • which logs of log exactelent openvpn or system


  • Rebel Alliance Developer Netgate

    On the client, you'd have to open up the client and see what logs it offers. That depends on your OS and client software. For example, in Windows you'd right click on the OpenVPN icon in the tray, click on the VPN entry, then click View Log.

    On pfSense the log is under Status > System Logs on the OpenVPN tab.



  • @jimp

    log open vpn server

    Jun 21 14:39:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:39:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:39:25 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:39:21 openvpn 13853 UDPv4 link remote: [undef]
    Jun 21 14:39:21 openvpn 13853 UDPv4 link local (bound): [AF_INET]127.0.0.1:1195
    Jun 21 14:39:21 openvpn 13853 Preserving previous TUN/TAP instance: ovpns2
    Jun 21 14:39:21 openvpn 13853 Re-using pre-shared static key
    Jun 21 14:39:21 openvpn 13853 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:39:19 openvpn 13853 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:39:19 openvpn 13853 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:39:14 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:39:14 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:39:04 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:39:04 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:54 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:54 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:43 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:43 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:33 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:33 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:23 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:12 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:12 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:01 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:38:01 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:51 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:51 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:41 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:41 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:31 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:31 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:21 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:09 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:37:09 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:58 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:58 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:48 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:48 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:38 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:38 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:28 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:28 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:18 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:05 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:36:05 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:55 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:55 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:45 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:45 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:35 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:35 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:25 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:25 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:15 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:04 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:35:04 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:54 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:54 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:44 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:44 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:34 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:34 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:24 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:24 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:13 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:02 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:34:02 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:53 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:53 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:42 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:42 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:31 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:31 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:21 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:21 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:33:11 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:59 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:59 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:49 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:49 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:39 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:39 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:29 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:29 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:19 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:19 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:32:10 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:58 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:58 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:48 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:48 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:38 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:38 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:28 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:28 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:18 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:18 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:31:07 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:56 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:56 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:46 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:46 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:26 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:26 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:15 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:15 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:30:05 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:54 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:54 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:43 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:43 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:33 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:33 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:23 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:23 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:13 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:13 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:29:03 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:52 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:52 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:42 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:42 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:32 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:32 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:22 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:22 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:12 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:12 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:28:01 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:50 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:50 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:40 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:40 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:30 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:30 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:19 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:19 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:09 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:27:09 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:59 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:47 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:47 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:37 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:37 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:27 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:27 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:17 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:17 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:07 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:26:07 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:56 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:46 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:46 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:25 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:25 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:14 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:14 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:04 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:25:04 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:54 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:42 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:42 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:32 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:32 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:22 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:22 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:12 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:12 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:02 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:24:02 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:52 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:41 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:41 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:31 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:31 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:20 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:20 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:09 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:23:09 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:59 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:59 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:49 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:38 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:38 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:28 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:28 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:18 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:18 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:08 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:22:08 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:21:57 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:21:57 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:21:47 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:21:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:21:36 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed
    Jun 21 14:21:26 openvpn 25402 Authenticate/Decrypt packet error: packet HMAC authentication failed

    log openvpn client

    Jun 21 14:33:11 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.74:1194
    Jun 21 14:34:11 openvpn 36580 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:34:11 openvpn 36580 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:34:13 openvpn 36580 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:34:13 openvpn 36580 Re-using pre-shared static key
    Jun 21 14:34:13 openvpn 36580 Preserving previous TUN/TAP instance: ovpnc2
    Jun 21 14:34:13 openvpn 36580 UDPv4 link local (bound): [AF_INET]185.142.189.92
    Jun 21 14:34:13 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.93:1194
    Jun 21 14:35:13 openvpn 36580 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:35:13 openvpn 36580 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:35:15 openvpn 36580 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:35:15 openvpn 36580 Re-using pre-shared static key
    Jun 21 14:35:15 openvpn 36580 Preserving previous TUN/TAP instance: ovpnc2
    Jun 21 14:35:15 openvpn 36580 UDPv4 link local (bound): [AF_INET]185.142.189.92
    Jun 21 14:35:15 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.74:1194
    Jun 21 14:36:16 openvpn 36580 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:36:16 openvpn 36580 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:36:18 openvpn 36580 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:36:18 openvpn 36580 Re-using pre-shared static key
    Jun 21 14:36:18 openvpn 36580 Preserving previous TUN/TAP instance: ovpnc2
    Jun 21 14:36:18 openvpn 36580 UDPv4 link local (bound): [AF_INET]185.142.189.92
    Jun 21 14:36:18 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.93:1194
    Jun 21 14:37:18 openvpn 36580 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:37:18 openvpn 36580 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:37:21 openvpn 36580 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:37:21 openvpn 36580 Re-using pre-shared static key
    Jun 21 14:37:21 openvpn 36580 Preserving previous TUN/TAP instance: ovpnc2
    Jun 21 14:37:21 openvpn 36580 UDPv4 link local (bound): [AF_INET]185.142.189.92
    Jun 21 14:37:21 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.74:1194
    Jun 21 14:38:21 openvpn 36580 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:38:21 openvpn 36580 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:38:23 openvpn 36580 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:38:23 openvpn 36580 Re-using pre-shared static key
    Jun 21 14:38:23 openvpn 36580 Preserving previous TUN/TAP instance: ovpnc2
    Jun 21 14:38:23 openvpn 36580 UDPv4 link local (bound): [AF_INET]185.142.189.92
    Jun 21 14:38:23 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.93:1194
    Jun 21 14:39:23 openvpn 36580 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:39:23 openvpn 36580 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:39:25 openvpn 36580 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:39:25 openvpn 36580 Re-using pre-shared static key
    Jun 21 14:39:25 openvpn 36580 Preserving previous TUN/TAP instance: ovpnc2
    Jun 21 14:39:25 openvpn 36580 UDPv4 link local (bound): [AF_INET]185.142.189.92
    Jun 21 14:39:25 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.74:1194
    Jun 21 14:40:25 openvpn 36580 Inactivity timeout (--ping-restart), restarting
    Jun 21 14:40:25 openvpn 36580 SIGUSR1[soft,ping-restart] received, process restarting
    Jun 21 14:40:27 openvpn 36580 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jun 21 14:40:27 openvpn 36580 Re-using pre-shared static key
    Jun 21 14:40:27 openvpn 36580 Preserving previous TUN/TAP instance: ovpnc2
    Jun 21 14:40:27 openvpn 36580 UDPv4 link local (bound): [AF_INET]185.142.189.92
    Jun 21 14:40:27 openvpn 36580 UDPv4 link remote: [AF_INET]185.142.189.93:1194


  • Rebel Alliance Developer Netgate

    @joris44 said in openvpn disconnects spontaneously:

    Jun 21 14:21:36 	openvpn 	25402 	Authenticate/Decrypt packet error: packet HMAC authentication failed
    

    That usually would indicate traffic arriving without a TLS key, or with the wrong TLS key. If that were the case, however, I'd expect it to never work, not work only at certain times.

    Is it possible something else (not OpenVPN) is hitting that port? Or maybe there is very bad connectivity between the sites and packets are not arriving intact or in the proper order?



  • @jimp
    I'm doing rds through vpn no there is only one traffic on port 1194 i have 2 wan so in case one crash the other takes over the same port vpn a sdsl and an adsl


Log in to reply