TLS Error: TLS key negotitation failed - VPN
Posted: Thu Mar 10, 2016 6:10 pm
Wanting to setup a VPN for myself with my Pi, i followed this two-part guide http://readwrite.com/2014/04/10/raspber ... b-browsing
but I am currently facing an issue that i cannot solve.
I get the following error when i try to connect to my Pi.
Thu Mar 10 18:52:20 2016 SIGUSR1[soft,tls-error] received, process restarting
Thu Mar 10 18:52:22 2016 UDPv4 link local: [undef]
Thu Mar 10 18:52:22 2016 UDPv4 link remote: [AF_INET]PUBLICIP:1194
Thu Mar 10 18:53:22 2016 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 10 18:53:22 2016 TLS Error: TLS handshake failed
Thu Mar 10 18:53:22 2016 SIGUSR1[soft,tls-error] received, process restarting
(Replaced my true IP)
I forwarded port 1194 to 192.168.0.29 (The Pi address), and i have the following configs.
/etc/openvpn/server.conf : http://i.imgur.com/l8QeexX.png
For the Client1.ovpn: http://i.imgur.com/7JC60gt.png
Default.txt : http://i.imgur.com/LGamMWR.png
For the firewall: http://i.imgur.com/MQU3z6j.png
Network interface: http://i.imgur.com/rvHOg1O.png
Keys are created with
cd /etc/openvpn/easy-rsa
source ./vars
./clean-all
./build-ca
./build-key-server Server
./build-key-pass Client1
cd keys
openssl rsa -in Client1.key -des3 -out Client1.3des.key
cd ..
./build-dh
openvpn --genkey --secret keys/ta.key
If you need any more information, feel free to tell me so. I'm getting fairly sick of this problem.
but I am currently facing an issue that i cannot solve.
I get the following error when i try to connect to my Pi.
Thu Mar 10 18:52:20 2016 SIGUSR1[soft,tls-error] received, process restarting
Thu Mar 10 18:52:22 2016 UDPv4 link local: [undef]
Thu Mar 10 18:52:22 2016 UDPv4 link remote: [AF_INET]PUBLICIP:1194
Thu Mar 10 18:53:22 2016 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 10 18:53:22 2016 TLS Error: TLS handshake failed
Thu Mar 10 18:53:22 2016 SIGUSR1[soft,tls-error] received, process restarting
(Replaced my true IP)
I forwarded port 1194 to 192.168.0.29 (The Pi address), and i have the following configs.
/etc/openvpn/server.conf : http://i.imgur.com/l8QeexX.png
For the Client1.ovpn: http://i.imgur.com/7JC60gt.png
Default.txt : http://i.imgur.com/LGamMWR.png
For the firewall: http://i.imgur.com/MQU3z6j.png
Network interface: http://i.imgur.com/rvHOg1O.png
Keys are created with
cd /etc/openvpn/easy-rsa
source ./vars
./clean-all
./build-ca
./build-key-server Server
./build-key-pass Client1
cd keys
openssl rsa -in Client1.key -des3 -out Client1.3des.key
cd ..
./build-dh
openvpn --genkey --secret keys/ta.key
If you need any more information, feel free to tell me so. I'm getting fairly sick of this problem.