I've got my open vpn server correctly configured and working at home in a raspberry pi. I can connect to it without any problems from my android phone when I'm on the 3G but now what I'm trying to achieve is to be able to connect also using the WiFi at work. My suspicious is that some sort of blocking is going on at my work's wifi but not entirely sure what could it be and how to bypass it.
Even when I'm pretty sure that my openvpn isn't the problem (the problem it's just with this network), I've changed my server settings to listen on tcp 443 with the hope that that will maybe avoid filtering or whatever causing the TLS handshake to succeed, but no luck, I got the same result
So, basically the connection it's established, but then it fails during the TLS negotiation phaseJun 17 15:49:31 raspbx ovpn-server[4447]: TCP/UDP: Closing socket
Code: Select all
Jun 17 15:49:38 raspbx ovpn-server[4447]: MULTI: multi_create_instance called
Jun 17 15:49:38 raspbx ovpn-server[4447]: Re-using SSL/TLS context
Jun 17 15:49:38 raspbx ovpn-server[4447]: LZO compression initialized
Jun 17 15:49:38 raspbx ovpn-server[4447]: Control Channel MTU parms [ L:1560 D:168 EF:68 EB:0 ET:0 EL:0 ]
Jun 17 15:49:38 raspbx ovpn-server[4447]: Data Channel MTU parms [ L:1560 D:1450 EF:60 EB:135 ET:0 EL:0 AF:3/1 ]
Jun 17 15:49:38 raspbx ovpn-server[4447]: Local Options String: 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Jun 17 15:49:38 raspbx ovpn-server[4447]: Expected Remote Options String: 'V4,dev-type tun,link-mtu 1560,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Jun 17 15:49:38 raspbx ovpn-server[4447]: Local Options hash (VER=V4): '9915e4a2'
Jun 17 15:49:38 raspbx ovpn-server[4447]: Expected Remote Options hash (VER=V4): '2f2c6498'
Jun 17 15:49:38 raspbx ovpn-server[4447]: TCP connection established with [AF_INET]xxx.xxx.xxx.x:42026
Jun 17 15:49:38 raspbx ovpn-server[4447]: TCPv4_SERVER link local: [undef]
Jun 17 15:49:38 raspbx ovpn-server[4447]: TCPv4_SERVER link remote: [AF_INET]xxx.xxx.xxx.x:42026
Jun 17 15:49:39 raspbx ovpn-server[4447]: xxx.xxx.xxx.x:42026 TLS: Initial packet from [AF_INET]218.185.233.6:42026, sid=35b998e5 20f78939
Jun 17 15:50:38 raspbx ovpn-server[4447]: xxx.xxx.xxx.x:42026 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jun 17 15:50:38 raspbx ovpn-server[4447]: xxx.xxx.xxx.x:42026 TLS Error: TLS handshake failed
Jun 17 15:50:38 raspbx ovpn-server[4447]: xxx.xxx.xxx.x:42026 Fatal TLS error (check_tls_errors_co), restarting
Jun 17 15:50:38 raspbx ovpn-server[4447]: xxx.xxx.xxx.x:42026 SIGUSR1[soft,tls-error] received, client-instance restarting
Jun 17 15:50:38 raspbx ovpn-server[4447]: TCP/UDP: Closing socket