[Solved]
Oct 30, 2016, 08:43 AM
(This post was last modified: Oct 30, 2016, 09:02 AM by David Brown.)
Hi, I have followed the guide, but when I get to testing the openvpn service with
I get the following TLS errors:-
Loaded: loaded (/etc/systemd/system/openvpn@openvpn.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2016-10-30 08:20:32 GMT; 16min ago
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wi...n23ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Process: 1179 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/
Main PID: 1314 (openvpn)
CGroup: /system.slice/system-openvpn.slice/openvpn@openvpn.service
└─1314 /usr/sbin/openvpn --daemon ovpn-openvpn --status /run/openvpn/openvpn.status 10 --cd /etc/openvpn --script-security 2 --config /et
Oct 30 08:36:01 ubuntu ovpn-openvpn[1314]: SIGUSR1[soft,tls-error] received, process restarting
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: UDPv4 link local: [undef]
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: UDPv4 link remote: [AF_INET]81.200.64.50:1198
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: TLS Error: TLS handshake failed
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: SIGUSR1[soft,tls-error] received, process restarting
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: UDPv4 link local: [undef]
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: UDPv4 link remote: [AF_INET]81.200.64.50:1198
It's on a Ubuntu 16.04 server and the PIA login details are working as I currently use them on a Pi. The IP details for both me and the vpn user are both the same (my public IP)
Code:
sudo systemctl status openvpn@openvpn.service
Loaded: loaded (/etc/systemd/system/openvpn@openvpn.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2016-10-30 08:20:32 GMT; 16min ago
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wi...n23ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Process: 1179 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/
Main PID: 1314 (openvpn)
CGroup: /system.slice/system-openvpn.slice/openvpn@openvpn.service
└─1314 /usr/sbin/openvpn --daemon ovpn-openvpn --status /run/openvpn/openvpn.status 10 --cd /etc/openvpn --script-security 2 --config /et
Oct 30 08:36:01 ubuntu ovpn-openvpn[1314]: SIGUSR1[soft,tls-error] received, process restarting
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: UDPv4 link local: [undef]
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: UDPv4 link remote: [AF_INET]81.200.64.50:1198
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: TLS Error: TLS handshake failed
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: SIGUSR1[soft,tls-error] received, process restarting
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: UDPv4 link local: [undef]
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: UDPv4 link remote: [AF_INET]81.200.64.50:1198
It's on a Ubuntu 16.04 server and the PIA login details are working as I currently use them on a Pi. The IP details for both me and the vpn user are both the same (my public IP)
(Oct 30, 2016, 08:43 AM)David Brown Wrote: Hi, I have followed the guide, but when I get to testing the openvpn service with
I get the following TLS errors:-Code:
sudo systemctl status openvpn@openvpn.service
Loaded: loaded (/etc/systemd/system/openvpn@openvpn.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2016-10-30 08:20:32 GMT; 16min ago
Docs: man:openvpn(8)
https://community.openvpn.net/openvpn/wi...n23ManPage
https://community.openvpn.net/openvpn/wiki/HOWTO
Process: 1179 ExecStart=/usr/sbin/openvpn --daemon ovpn-%i --status /run/openvpn/%i.status 10 --cd /etc/openvpn --script-security 2 --config /etc/
Main PID: 1314 (openvpn)
CGroup: /system.slice/system-openvpn.slice/openvpn@openvpn.service
└─1314 /usr/sbin/openvpn --daemon ovpn-openvpn --status /run/openvpn/openvpn.status 10 --cd /etc/openvpn --script-security 2 --config /et
Oct 30 08:36:01 ubuntu ovpn-openvpn[1314]: SIGUSR1[soft,tls-error] received, process restarting
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: UDPv4 link local: [undef]
Oct 30 08:36:03 ubuntu ovpn-openvpn[1314]: UDPv4 link remote: [AF_INET]81.200.64.50:1198
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: TLS Error: TLS handshake failed
Oct 30 08:37:03 ubuntu ovpn-openvpn[1314]: SIGUSR1[soft,tls-error] received, process restarting
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: UDPv4 link local: [undef]
Oct 30 08:37:05 ubuntu ovpn-openvpn[1314]: UDPv4 link remote: [AF_INET]81.200.64.50:1198
It's on a Ubuntu 16.04 server and the PIA login details are working as I currently use them on a Pi. The IP details for both me and the vpn user are both the same (my public IP). I did a system reboot before running the tests.