Maldita OPENVPN (RESOLVIDO)



  • Sei la eu porque… mas a openvpn caiu e nao volta mais nem com reza

    Log do systema - openvpn

    an 12 02:15:50	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    Jan 12 02:16:50	openvpn[21981]: Inactivity timeout (--ping-restart), restarting
    Jan 12 02:16:50	openvpn[21981]: SIGUSR1[soft,ping-restart] received, process restarting
    Jan 12 02:16:52	openvpn[21981]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:16:52	openvpn[21981]: Re-using pre-shared static key
    Jan 12 02:16:52	openvpn[21981]: Preserving previous TUN/TAP instance: ovpnc1
    Jan 12 02:16:52	openvpn[21981]: UDPv4 link local (bound): [AF_INET]192.168.0.11
    Jan 12 02:16:52	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    Jan 12 02:17:52	openvpn[21981]: Inactivity timeout (--ping-restart), restarting
    Jan 12 02:17:52	openvpn[21981]: SIGUSR1[soft,ping-restart] received, process restarting
    Jan 12 02:17:54	openvpn[21981]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:17:54	openvpn[21981]: Re-using pre-shared static key
    Jan 12 02:17:55	openvpn[21981]: Preserving previous TUN/TAP instance: ovpnc1
    Jan 12 02:17:55	openvpn[21981]: UDPv4 link local (bound): [AF_INET]192.168.0.11
    Jan 12 02:17:55	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    Jan 12 02:18:55	openvpn[21981]: Inactivity timeout (--ping-restart), restarting
    Jan 12 02:18:55	openvpn[21981]: SIGUSR1[soft,ping-restart] received, process restarting
    Jan 12 02:18:57	openvpn[21981]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:18:57	openvpn[21981]: Re-using pre-shared static key
    Jan 12 02:18:57	openvpn[21981]: Preserving previous TUN/TAP instance: ovpnc1
    Jan 12 02:18:57	openvpn[21981]: UDPv4 link local (bound): [AF_INET]192.168.0.11
    Jan 12 02:18:57	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    Jan 12 02:19:57	openvpn[21981]: Inactivity timeout (--ping-restart), restarting
    Jan 12 02:19:57	openvpn[21981]: SIGUSR1[soft,ping-restart] received, process restarting
    Jan 12 02:19:59	openvpn[21981]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:19:59	openvpn[21981]: Re-using pre-shared static key
    Jan 12 02:19:59	openvpn[21981]: Preserving previous TUN/TAP instance: ovpnc1
    Jan 12 02:19:59	openvpn[21981]: UDPv4 link local (bound): [AF_INET]192.168.0.11
    Jan 12 02:19:59	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    Jan 12 02:20:59	openvpn[21981]: Inactivity timeout (--ping-restart), restarting
    Jan 12 02:20:59	openvpn[21981]: SIGUSR1[soft,ping-restart] received, process restarting
    Jan 12 02:21:01	openvpn[21981]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:21:01	openvpn[21981]: Re-using pre-shared static key
    Jan 12 02:21:01	openvpn[21981]: Preserving previous TUN/TAP instance: ovpnc1
    Jan 12 02:21:01	openvpn[21981]: UDPv4 link local (bound): [AF_INET]192.168.0.11
    Jan 12 02:21:01	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    Jan 12 02:22:01	openvpn[21981]: Inactivity timeout (--ping-restart), restarting
    Jan 12 02:22:01	openvpn[21981]: SIGUSR1[soft,ping-restart] received, process restarting
    Jan 12 02:22:03	openvpn[21981]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:22:03	openvpn[21981]: Re-using pre-shared static key
    Jan 12 02:22:04	openvpn[21981]: Preserving previous TUN/TAP instance: ovpnc1
    Jan 12 02:22:04	openvpn[21981]: UDPv4 link local (bound): [AF_INET]192.168.0.11
    Jan 12 02:22:04	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    Jan 12 02:23:04	openvpn[21981]: Inactivity timeout (--ping-restart), restarting
    Jan 12 02:23:04	openvpn[21981]: SIGUSR1[soft,ping-restart] received, process restarting
    Jan 12 02:23:06	openvpn[21981]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:23:06	openvpn[21981]: Re-using pre-shared static key
    Jan 12 02:23:06	openvpn[21981]: Preserving previous TUN/TAP instance: ovpnc1
    Jan 12 02:23:06	openvpn[21981]: UDPv4 link local (bound): [AF_INET]192.168.0.11
    Jan 12 02:23:06	openvpn[21981]: UDPv4 link remote: [AF_INET]189.4.86.84:1194
    

    Servidor

    Jan 12 01:55:37	openvpn[91236]: event_wait : Interrupted system call (code=4)
    Jan 12 01:55:37	openvpn[91236]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1561 172.16.0.1 172.16.0.2 init
    Jan 12 01:55:37	openvpn[91236]: SIGTERM[hard,] received, process exiting
    Jan 12 01:55:37	openvpn[23728]: OpenVPN 2.3.2 i386-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Jul 24 2013
    Jan 12 01:55:37	openvpn[23728]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 01:55:37	openvpn[23728]: TUN/TAP device ovpns1 exists previously, keep at program end
    Jan 12 01:55:37	openvpn[23728]: TUN/TAP device /dev/tun1 opened
    Jan 12 01:55:37	openvpn[23728]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
    Jan 12 01:55:37	openvpn[23728]: /sbin/ifconfig ovpns1 172.16.0.1 172.16.0.2 mtu 1500 netmask 255.255.255.255 up
    Jan 12 01:55:37	openvpn[23728]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1561 172.16.0.1 172.16.0.2 init
    Jan 12 01:55:37	openvpn[25275]: UDPv4 link local (bound): [AF_INET]192.168.0.2:1194
    Jan 12 01:55:37	openvpn[25275]: UDPv4 link remote: [undef]
    Jan 12 01:59:31	openvpn[25275]: event_wait : Interrupted system call (code=4)
    Jan 12 01:59:31	openvpn[25275]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1561 172.16.0.1 172.16.0.2 init
    Jan 12 01:59:31	openvpn[25275]: SIGTERM[hard,] received, process exiting
    Jan 12 01:59:31	openvpn[86435]: OpenVPN 2.3.2 i386-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Jul 24 2013
    Jan 12 01:59:31	openvpn[86435]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 01:59:31	openvpn[86435]: TUN/TAP device ovpns1 exists previously, keep at program end
    Jan 12 01:59:31	openvpn[86435]: TUN/TAP device /dev/tun1 opened
    Jan 12 01:59:31	openvpn[86435]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
    Jan 12 01:59:31	openvpn[86435]: /sbin/ifconfig ovpns1 172.16.0.1 172.16.0.2 mtu 1500 netmask 255.255.255.255 up
    Jan 12 01:59:31	openvpn[86435]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1561 172.16.0.1 172.16.0.2 init
    Jan 12 01:59:31	openvpn[87654]: UDPv4 link local (bound): [AF_INET]192.168.0.2:1194
    Jan 12 01:59:31	openvpn[87654]: UDPv4 link remote: [undef]
    Jan 12 02:15:15	openvpn[87654]: event_wait : Interrupted system call (code=4)
    Jan 12 02:15:15	openvpn[87654]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1561 172.16.0.1 172.16.0.2 init
    Jan 12 02:15:15	openvpn[87654]: SIGTERM[hard,] received, process exiting
    Jan 12 02:15:16	openvpn[20365]: OpenVPN 2.3.2 i386-portbld-freebsd8.3 [SSL (OpenSSL)] [LZO] [eurephia] [MH] [IPv6] built on Jul 24 2013
    Jan 12 02:15:16	openvpn[20365]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Jan 12 02:15:16	openvpn[20365]: TUN/TAP device ovpns1 exists previously, keep at program end
    Jan 12 02:15:16	openvpn[20365]: TUN/TAP device /dev/tun1 opened
    Jan 12 02:15:16	openvpn[20365]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
    Jan 12 02:15:16	openvpn[20365]: /sbin/ifconfig ovpns1 172.16.0.1 172.16.0.2 mtu 1500 netmask 255.255.255.255 up
    Jan 12 02:15:16	openvpn[20365]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1561 172.16.0.1 172.16.0.2 init
    Jan 12 02:15:16	openvpn[21387]: UDPv4 link local (bound): [AF_INET]192.168.0.2:1194
    Jan 12 02:15:16	openvpn[21387]: UDPv4 link remote: [undef]
    

    Nos testes que eu faço na porta 1194  da filial para o servidor, da timeout

    Não compreendo de jeito nenhum!  :-\

    ============== EDITADO =====================

    Era o firewal eu tinha editado uma regra.

    Ja volto ja att.



  • As vezes tem que tomar um pouco de cuidado com os prints que deseja mostrar…

    ![Captura de tela 2014-01-13 00.09.59.png](/public/imported_attachments/1/Captura de tela 2014-01-13 00.09.59.png)
    ![Captura de tela 2014-01-13 00.09.59.png_thumb](/public/imported_attachments/1/Captura de tela 2014-01-13 00.09.59.png_thumb)


Log in to reply