OpenVPN Travando - Remote Access
-
Olá, tenho um servidor PFSense rodando, conexão ponto a ponto não da erro, e conexão cliente servidor do nada ele trava.
Quando trava eu tenho que reiniciar o serviço do OpenVPN.
O que pode ser?
Sep 9 19:50:20 openvpn[87951]: usuario/191.250.132.210:57276 [usuario] Inactivity timeout (--ping-restart), restarting Sep 9 19:46:45 openvpn[87951]: usuario/191.250.132.210:57276 send_push_reply(): safe_cap=940 Sep 9 19:46:43 openvpn[87951]: MULTI_sva: pool returned IPv4=172.16.0.6, IPv6=(Not enabled) Sep 9 19:46:43 openvpn[87951]: 191.250.132.210:57276 [usuario] Peer Connection Initiated with [AF_INET]191.250.132.210:57276 Sep 9 19:46:43 openvpn: user 'usuario' authenticated Sep 9 19:43:26 openvpn[87951]: usuario/191.250.132.210:58012 send_push_reply(): safe_cap=940 Sep 9 19:43:24 openvpn[87951]: usuario/191.250.132.210:58012 MULTI_sva: pool returned IPv4=172.16.0.6, IPv6=(Not enabled) Sep 9 19:43:24 openvpn[87951]: 191.250.132.210:58012 [usuario] Peer Connection Initiated with [AF_INET]191.250.132.210:58012 Sep 9 19:43:24 openvpn: user 'usuario' authenticated Sep 9 17:36:14 openvpn[80292]: WARNING: 'tun-ipv6' is present in local config but missing in remote config, local='tun-ipv6' Sep 9 17:36:12 openvpn[80292]: Initialization Sequence Completed Sep 9 17:36:11 openvpn[80292]: Peer Connection Initiated with [AF_INET]189.28.154.211:XXXX Sep 9 17:34:44 openvpn[80292]: UDPv4 link remote: [undef] Sep 9 17:34:44 openvpn[80292]: UDPv4 link local (bound): [AF_INET]XXX.XXX.XX.XX:XXXX Sep 9 17:34:44 openvpn[80292]: Preserving previous TUN/TAP instance: ovpns1 Sep 9 17:34:44 openvpn[80292]: Re-using pre-shared static key Sep 9 17:34:44 openvpn[80292]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 9 17:34:42 openvpn[80292]: SIGUSR1[soft,ping-restart] received, process restarting Sep 9 17:34:42 openvpn[80292]: Inactivity timeout (--ping-restart), restarting Sep 9 16:41:10 openvpn[80292]: WARNING: 'tun-ipv6' is present in local config but missing in remote config, local='tun-ipv6' Sep 9 16:41:02 openvpn[80292]: Initialization Sequence Completed Sep 9 16:41:02 openvpn[80292]: Peer Connection Initiated with [AF_INET]189.28.154.211:XXXX Sep 9 16:40:59 openvpn[87951]: Initialization Sequence Completed Sep 9 16:40:59 openvpn[87951]: UDPv4 link remote: [undef] Sep 9 16:40:59 openvpn[87951]: UDPv4 link local (bound): [AF_INET]XXX.XXX.XX.XX:XXXX Sep 9 16:40:59 openvpn[86974]: ERROR: FreeBSD route add command failed: external program exited with error status: 1 Sep 9 16:40:59 openvpn[86974]: /usr/local/sbin/ovpn-linkup ovpns2 1500 1542 172.16.0.1 172.16.0.2 init Sep 9 16:40:59 openvpn[86974]: /sbin/ifconfig ovpns2 172.16.0.1 172.16.0.2 mtu 1500 netmask 255.255.255.255 up Sep 9 16:40:59 openvpn[86974]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0 Sep 9 16:40:59 openvpn[86974]: TUN/TAP device /dev/tun2 opened Sep 9 16:40:59 openvpn[86974]: TUN/TAP device ovpns2 exists previously, keep at program end Sep 9 16:40:59 openvpn[86974]: Control Channel Authentication: using '/var/etc/openvpn/server2.tls-auth' as a OpenVPN static key file Sep 9 16:40:59 openvpn[86974]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 9 16:40:59 openvpn[86974]: OpenVPN 2.3.2 i386-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Mar 27 2014 Sep 9 16:40:59 openvpn[49637]: SIGTERM[hard,] received, process exiting Sep 9 16:40:59 openvpn[49637]: /usr/local/sbin/ovpn-linkdown ovpns2 1500 1542 172.16.0.1 172.16.0.2 init Sep 9 16:40:59 openvpn[49637]: ERROR: FreeBSD route delete command failed: external program exited with error status: 1 Sep 9 16:40:59 openvpn[49637]: event_wait : Interrupted system call (code=4) Sep 9 16:40:59 openvpn[80292]: UDPv4 link remote: [undef] Sep 9 16:40:59 openvpn[80292]: UDPv4 link local (bound): [AF_INET]XXX.XXX.XX.XX:XXXX Sep 9 16:40:59 openvpn[76759]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1545 172.16.0.1 172.16.0.2 init Sep 9 16:40:59 openvpn[76759]: /sbin/ifconfig ovpns1 172.16.0.1 172.16.0.2 mtu 1500 netmask 255.255.255.255 up Sep 9 16:40:59 openvpn[76759]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0 Sep 9 16:40:59 openvpn[76759]: TUN/TAP device /dev/tun1 opened Sep 9 16:40:59 openvpn[76759]: TUN/TAP device ovpns1 exists previously, keep at program end Sep 9 16:40:59 openvpn[76759]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 9 16:40:59 openvpn[76759]: OpenVPN 2.3.2 i386-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Mar 27 2014 Sep 9 16:40:58 openvpn[42330]: SIGTERM[hard,] received, process exiting Sep 9 16:40:58 openvpn[42330]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1545 172.16.0.1 172.16.0.2 init Sep 9 16:40:58 openvpn[42330]: event_wait : Interrupted system call (code=4) Sep 9 16:40:57 openvpn[42330]: WARNING: 'tun-ipv6' is present in local config but missing in remote config, local='tun-ipv6' Sep 9 16:40:49 openvpn[42330]: Initialization Sequence Completed Sep 9 16:40:49 openvpn[42330]: Peer Connection Initiated with [AF_INET]189.28.154.211:XXXX Sep 9 16:40:48 openvpn[49637]: Initialization Sequence Completed Sep 9 16:40:48 openvpn[49637]: UDPv4 link remote: [undef] Sep 9 16:40:48 openvpn[49637]: UDPv4 link local (bound): [AF_INET]XXX.XXX.XX.XX:XXXX Sep 9 16:40:48 openvpn[48501]: ERROR: FreeBSD route add command failed: external program exited with error status: 1 Sep 9 16:40:47 openvpn[48501]: /usr/local/sbin/ovpn-linkup ovpns2 1500 1542 172.16.0.1 172.16.0.2 init Sep 9 16:40:47 openvpn[48501]: /sbin/ifconfig ovpns2 172.16.0.1 172.16.0.2 mtu 1500 netmask 255.255.255.255 up Sep 9 16:40:47 openvpn[48501]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0 Sep 9 16:40:47 openvpn[48501]: TUN/TAP device /dev/tun2 opened Sep 9 16:40:47 openvpn[48501]: TUN/TAP device ovpns2 exists previously, keep at program end Sep 9 16:40:47 openvpn[48501]: Control Channel Authentication: using '/var/etc/openvpn/server2.tls-auth' as a OpenVPN static key file Sep 9 16:40:47 openvpn[48501]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 9 16:40:47 openvpn[48501]: OpenVPN 2.3.2 i386-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Mar 27 2014 Sep 9 16:40:47 openvpn[4780]: SIGTERM[hard,] received, process exiting Sep 9 16:40:47 openvpn[4780]: /usr/local/sbin/ovpn-linkdown ovpns2 1500 1542 172.16.0.1 172.16.0.2 init Sep 9 16:40:47 openvpn[4780]: event_wait : Interrupted system call (code=4) Sep 9 16:40:47 openvpn[42330]: UDPv4 link remote: [undef] Sep 9 16:40:47 openvpn[42330]: UDPv4 link local (bound): [AF_INET]XXX.XXX.XX.XX:XXXX Sep 9 16:40:47 openvpn[37970]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1545 172.16.0.1 172.16.0.2 init Sep 9 16:40:47 openvpn[37970]: /sbin/ifconfig ovpns1 172.16.0.1 172.16.0.2 mtu 1500 netmask 255.255.255.255 up Sep 9 16:40:47 openvpn[37970]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0 Sep 9 16:40:47 openvpn[37970]: TUN/TAP device /dev/tun1 opened Sep 9 16:40:47 openvpn[37970]: TUN/TAP device ovpns1 exists previously, keep at program end Sep 9 16:40:47 openvpn[37970]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Sep 9 16:40:47 openvpn[37970]: OpenVPN 2.3.2 i386-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Mar 27 2014 Sep 9 16:40:47 openvpn[34213]: SIGTERM[hard,] received, process exiting Sep 9 16:40:47 openvpn[34213]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1545 172.16.0.1 172.16.0.2 init Sep 9 16:40:47 openvpn[34213]: event_wait : Interrupted system call (code=4) Sep 9 16:25:02 openvpn[4780]: usuario/191.250.132.210:58419 [usuario] Inactivity timeout (--ping-restart), restarting Sep 9 15:36:54 openvpn[4780]: usuario/191.250.132.210:58419 send_push_reply(): safe_cap=940 Sep 9 15:36:52 openvpn[4780]: usuario/191.250.132.210:58419 MULTI_sva: pool returned IPv4=172.16.0.10, IPv6=(Not enabled) Sep 9 15:36:52 openvpn[4780]: 191.250.132.210:58419 [usuario] Peer Connection Initiated with [AF_INET]191.250.132.210:58419 Sep 9 15:36:52 openvpn: user 'usuario' authenticated Sep 9 09:48:00 openvpn[4780]: usuario/186.214.64.128:63572 [usuario] Inactivity timeout (--ping-restart), restarting Sep 9 09:26:20 openvpn: user 'usuario' authenticated Sep 9 08:26:21 openvpn[4780]: usuario/186.214.64.128:63572 send_push_reply(): safe_cap=940 Sep 9 08:26:18 openvpn[4780]: MULTI_sva: pool returned IPv4=172.16.0.10, IPv6=(Not enabled) Sep 9 08:26:18 openvpn[4780]: 186.214.64.128:63572 [usuario] Peer Connection Initiated with [AF_INET]186.214.64.128:63572 Sep 9 08:26:18 openvpn: user 'usuario' authenticated Sep 9 08:24:41 openvpn[4780]: usuario/186.214.64.128:64849 send_push_reply(): safe_cap=940 Sep 9 08:24:38 openvpn[4780]: usuario/186.214.64.128:64849 MULTI_sva: pool returned IPv4=172.16.0.10, IPv6=(Not enabled) Sep 9 08:24:38 openvpn[4780]: 186.214.64.128:64849 [usuario] Peer Connection Initiated with [AF_INET]186.214.64.128:64849 Sep 9 08:24:38 openvpn: user 'usuario' authenticated
Obrigado.