Problemi con openvpn e ps 2.2.2
-
Ciao a tutti, non riesco a far funzionare OpenVpn con PS 2.2.2 i386. In pratica ho il servizio sempre stopped e non si avvia. I certificati Ca li ho rifatti, le rules sul firewall ci sono ma niente. Ma è cambiato qualcosa nella gestione delle vpn per accesso dall'esterno? Se qualcuno può darmi una mano gli do l'accesso con teamviever.
Grazie -
Il log cosa dice?
-
ciao, error deamon not start
-
Ciao, ecco il log:
May 28 20:46:38 htcserver openvpn[6557]: Options error: –server directive network/netmask combination is invalid
May 28 20:46:38 htcserver openvpn[6557]: Use –help for more information.
May 28 20:50:02 htcserver openvpn[76227]: Options error: –server directive network/netmask combination is invalid
May 28 20:50:02 htcserver openvpn[76227]: Use –help for more information.
May 28 20:53:49 htcserver openvpn[69043]: Options error: –server directive network/netmask combination is invalid
May 28 20:53:49 htcserver openvpn[69043]: Use –help for more information. -
Ciao, allora ho cambiato ip alla rete virtuale adesso il servizio funziona, ma non riesco ad estrare dall'esterno. Io ho una Telecom Adsl business con ip statico che pingo tranquillamente. Non so dove sbaglio.
-
Ecco il log ora:
May 28 21:09:45 htcserver openvpn[49539]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1557 10.0.8.1 10.0.8.2 init
May 28 21:09:45 htcserver openvpn[49539]: SIGTERM[hard,] received, process exiting
May 28 21:09:45 htcserver openvpn[15536]: OpenVPN 2.3.6 i386-portbld-freebsd10.1 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Apr 8 2015
May 28 21:09:45 htcserver openvpn[15536]: library versions: OpenSSL 1.0.1l-freebsd 15 Jan 2015, LZO 2.09
May 28 21:09:45 htcserver openvpn[15759]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
May 28 21:09:46 htcserver openvpn[15759]: Control Channel Authentication: using '/var/etc/openvpn/server1.tls-auth' as a OpenVPN static key file
May 28 21:09:46 htcserver openvpn[15759]: TUN/TAP device ovpns1 exists previously, keep at program end
May 28 21:09:46 htcserver openvpn[15759]: TUN/TAP device /dev/tun1 opened
May 28 21:09:46 htcserver openvpn[15759]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
May 28 21:09:46 htcserver openvpn[15759]: /sbin/ifconfig ovpns1 10.0.8.1 10.0.8.2 mtu 1500 netmask 255.255.255.255 up
May 28 21:09:46 htcserver openvpn[15759]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1558 10.0.8.1 10.0.8.2 init
May 28 21:09:46 htcserver openvpn[15759]: UDPv4 link local (bound): [AF_INET]10.10.0.101:1194
May 28 21:09:46 htcserver openvpn[15759]: UDPv4 link remote: [undef]
May 28 21:09:46 htcserver openvpn[15759]: Initialization Sequence Completed
May 28 21:19:55 htcserver openvpn[15759]: event_wait : Interrupted system call (code=4)
May 28 21:19:55 htcserver openvpn[15759]: /usr/local/sbin/ovpn-linkdown ovpns1 1500 1558 10.0.8.1 10.0.8.2 init
May 28 21:19:55 htcserver openvpn[15759]: SIGTERM[hard,] received, process exiting
May 28 21:25:19 htcserver openvpn[64593]: Options error: –server directive network/netmask combination is invalid
May 28 21:25:19 htcserver openvpn[64593]: Use –help for more information.
May 28 21:25:30 htcserver openvpn[75096]: Options error: –server directive network/netmask combination is invalid
May 28 21:25:30 htcserver openvpn[75096]: Use –help for more information.
May 28 21:57:53 htcserver openvpn[33620]: OpenVPN 2.3.6 i386-portbld-freebsd10.1 [SSL (OpenSSL)] [LZO] [MH] [IPv6] built on Apr 8 2015
May 28 21:57:53 htcserver openvpn[33620]: library versions: OpenSSL 1.0.1l-freebsd 15 Jan 2015, LZO 2.09
May 28 21:57:53 htcserver openvpn[33669]: NOTE: the current –script-security setting may allow this configuration to call user-defined scripts
May 28 21:57:53 htcserver openvpn[33669]: Control Channel Authentication: using '/var/etc/openvpn/server1.tls-auth' as a OpenVPN static key file
May 28 21:57:53 htcserver openvpn[33669]: TUN/TAP device ovpns1 exists previously, keep at program end
May 28 21:57:53 htcserver openvpn[33669]: TUN/TAP device /dev/tun1 opened
May 28 21:57:53 htcserver openvpn[33669]: ioctl(TUNSIFMODE): Device busy: Device busy (errno=16)
May 28 21:57:53 htcserver openvpn[33669]: do_ifconfig, tt->ipv6=1, tt->did_ifconfig_ipv6_setup=0
May 28 21:57:53 htcserver openvpn[33669]: /sbin/ifconfig ovpns1 10.0.8.1 10.0.8.2 mtu 1500 netmask 255.255.255.255 up
May 28 21:57:53 htcserver openvpn[33669]: /usr/local/sbin/ovpn-linkup ovpns1 1500 1558 10.0.8.1 10.0.8.2 init
May 28 21:57:53 htcserver openvpn[33669]: UDPv4 link local (bound): [AF_INET]10.10.0.101:1194
May 28 21:57:53 htcserver openvpn[33669]: UDPv4 link remote: [undef]
May 28 21:57:53 htcserver openvpn[33669]: Initialization Sequence Completed