Last night i setup an open VPN server at home, and after connecting my laptop to a hotspot through my phone i was able to connect and verify it worked. Now that i am at a different location it seemed to stop working. I tried the openvpn client for OSX first, but that seemed to not work out, and was unable to find any logs. So i downloaded the tunnelblick application and used that, and it returned a couple of errors. I have also tried a copy of windows 10 but that seems to return the same errors as well.
*Tunnelblick: macOS 10.13.6; Tunnelblick 3.7.8 (build 5180); prior version 3.6.3 (build 4560)
2019-01-25 08:26:01 *Tunnelblick: Attempting connection with openvpn using shadow copy; Set nameserver = 769; monitoring connection
2019-01-25 08:26:01 *Tunnelblick: openvpnstart start openvpn.tblk 53406 769 0 1 0 1065264 -ptADGNWradsgnw 2.4.6-openssl-1.0.2q
2019-01-25 08:26:01 *Tunnelblick: openvpnstart log:
OpenVPN started successfully. Command used to start OpenVPN (one argument per displayed line):
/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.4.6-openssl-1.0.2q/openvpn
--daemon
--log /Library/Application Support/Tunnelblick/Logs/-SUsers-SChris-SLibrary-SApplication Support-STunnelblick-SConfigurations-Sopenvpn.tblk-SContents-SResources-Sconfig.ovpn.769_0_1_0_1065264.53406.openvpn.log
--cd /Library/Application Support/Tunnelblick/Users/Chris/openvpn.tblk/Contents/Resources
--setenv IV_GUI_VER "net.tunnelblick.tunnelblick 5180 3.7.8 (build 5180)"
--verb 3
--config /Library/Application Support/Tunnelblick/Users/Chris/openvpn.tblk/Contents/Resources/config.ovpn
--setenv TUNNELBLICK_CONFIG_FOLDER /Library/Application Support/Tunnelblick/Users/Chris/openvpn.tblk/Contents/Resources
--verb 3
--cd /Library/Application Support/Tunnelblick/Users/Chris/openvpn.tblk/Contents/Resources
--management 127.0.0.1 53406 /Library/Application Support/Tunnelblick/okloihgoijfbcfffmphhdikhofddbbiblcklinbl.mip
--management-query-passwords
--management-hold
--script-security 2
--up /Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw
--down /Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw
2019-01-25 08:26:01 *Tunnelblick: Established communication with OpenVPN
2019-01-25 08:26:01 OpenVPN 2.4.6 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD] built on Nov 29 2018
2019-01-25 08:26:01 library versions: OpenSSL 1.0.2q 20 Nov 2018, LZO 2.10
2019-01-25 08:26:01 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:53406
2019-01-25 08:26:01 Need hold release from management interface, waiting...
2019-01-25 08:26:01 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:53406
2019-01-25 08:26:01 MANAGEMENT: CMD 'pid'
2019-01-25 08:26:01 MANAGEMENT: CMD 'auth-retry interact'
2019-01-25 08:26:01 MANAGEMENT: CMD 'state on'
2019-01-25 08:26:01 MANAGEMENT: CMD 'state'
2019-01-25 08:26:01 MANAGEMENT: CMD 'bytecount 1'
2019-01-25 08:26:01 MANAGEMENT: CMD 'hold release'
2019-01-25 08:26:01 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
2019-01-25 08:26:01 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2019-01-25 08:26:01 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
2019-01-25 08:26:01 Socket Buffers: R=[196724->196724] S=[9216->9216]
2019-01-25 08:26:01 UDP link local: (not bound)
2019-01-25 08:26:01 UDP link remote: [AF_INET]x.x.x.x:1194
2019-01-25 08:26:01 MANAGEMENT: >STATE:1548433561,WAIT,,,,,,
2019-01-25 08:26:01 *Tunnelblick: openvpnstart starting OpenVPN
2019-01-25 08:27:01 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2019-01-25 08:27:01 TLS Error: TLS handshake failed
2019-01-25 08:27:01 SIGUSR1[soft,tls-error] received, process restarting
2019-01-25 08:27:01 MANAGEMENT: >STATE:1548433621,RECONNECTING,tls-error,,,,,
2019-01-25 08:27:01 MANAGEMENT: CMD 'hold release'
2019-01-25 08:27:01 WARNING: No server certificate verification method has been enabled. See
http://openvpn.net/howto.html#mitm for more info.
2019-01-25 08:27:01 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
2019-01-25 08:27:01 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
2019-01-25 08:27:01 Socket Buffers: R=[196724->196724] S=[9216->9216]
2019-01-25 08:27:01 UDP link local: (not bound)
2019-01-25 08:27:01 UDP link remote: [AF_INET]x.x.x.x:1194
2019-01-25 08:27:01 MANAGEMENT: >STATE:1548433621,WAIT,,,,,,
2019-01-25 08:27:01 MANAGEMENT: CMD 'hold release'
Here is my current config file.
client
dev tun
proto udp
remote x.x.x.x 1194
float
resolv-retry infinite
nobind
persist-key
persist-tun
verb 4
ca cacert.pem
cert client1.pem
key client1.key