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.
TLS Error: TLS key negotitation failed - VPN
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Mar 10, 2016 5:53 pm
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: TLS Error: TLS key negotitation failed - VPN
Please see the Forum rules (top of page)
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Mar 10, 2016 5:53 pm
Re: TLS Error: TLS key negotitation failed - VPN
Clientlog - with verb 4
Thu Mar 10 20:12:07 2016 UDPv4 link local: [undef]
Thu Mar 10 20:12:07 2016 UDPv4 link remote: [AF_INET]PUBLICIP:1194
Thu Mar 10 20:13:07 2016 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 10 20:13:07 2016 TLS Error: TLS handshake failed
Thu Mar 10 20:13:07 2016 SIGUSR1[soft,tls-error] received, process restarting
Serverlog - also with verb 4 (These seem old compared to other timestamps. Attempts to reach server arent working - so problem in firewall/router perhaps?)
Thu Mar 10 17:03:11 2016 OpenVPN 2.2.1 arm-linux-gnueabihf [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Dec 1 2014
Thu Mar 10 17:03:11 2016 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Mar 10 17:03:12 2016 Cannot load certificate file /etc/openvpn/easy-rsa/keys/[Server].crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:$
Thu Mar 10 17:03:12 2016 Exiting
Fairly sure the above stems from an earlier error i had. No newer logs.
Feel free to tell me if anything else is missing.
Thu Mar 10 20:12:07 2016 UDPv4 link local: [undef]
Thu Mar 10 20:12:07 2016 UDPv4 link remote: [AF_INET]PUBLICIP:1194
Thu Mar 10 20:13:07 2016 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Mar 10 20:13:07 2016 TLS Error: TLS handshake failed
Thu Mar 10 20:13:07 2016 SIGUSR1[soft,tls-error] received, process restarting
Serverlog - also with verb 4 (These seem old compared to other timestamps. Attempts to reach server arent working - so problem in firewall/router perhaps?)
Thu Mar 10 17:03:11 2016 OpenVPN 2.2.1 arm-linux-gnueabihf [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Dec 1 2014
Thu Mar 10 17:03:11 2016 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Mar 10 17:03:12 2016 Cannot load certificate file /etc/openvpn/easy-rsa/keys/[Server].crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:$
Thu Mar 10 17:03:12 2016 Exiting
Fairly sure the above stems from an earlier error i had. No newer logs.
Feel free to tell me if anything else is missing.