The other day I changed my ISP and they gave me new router which I configured using the exact same static IP for the Debian virtual machine.
My issue here is that I can't make the tunnel connection to work properly again. For some reason I get the following message when trying to retrieve the public IP from the OpenVPN server:
curl: (6) Could not resolve host: ifconfig.me
I tried connecting using the same client.ovpn file from my Windows machine and everything went fine.
Then I reinstalled the OpenVPN client on the virtual machine and since the autoconnect feature is gone, I got this info from the connection attempt which might be useful for you guys to help me troubleshoot:
Code: Select all
unable to resolve host server.blurfm.com: Temporary failure in name resolution
Tue Apr 19 17:48:58 2022 Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client/client.ovpn:19: block-outside-dns (2.4.7)
Tue Apr 19 17:48:58 2022 OpenVPN 2.4.7 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 20 2019
Tue Apr 19 17:48:58 2022 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Tue Apr 19 17:48:58 2022 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Apr 19 17:48:58 2022 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Apr 19 17:48:58 2022 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Apr 19 17:48:58 2022 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Apr 19 17:48:58 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]34.231.47.189:1194
Tue Apr 19 17:48:58 2022 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Apr 19 17:48:58 2022 UDP link local: (not bound)
Tue Apr 19 17:48:58 2022 UDP link remote: [AF_INET]34.231.47.189:1194
Tue Apr 19 17:49:58 2022 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue Apr 19 17:49:58 2022 TLS Error: TLS handshake failed
Tue Apr 19 17:49:58 2022 SIGUSR1[soft,tls-error] received, process restarting
Tue Apr 19 17:49:58 2022 Restart pause, 5 second(s)
Tue Apr 19 17:50:03 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]34.231.47.189:1194
Tue Apr 19 17:50:03 2022 Socket Buffers: R=[212992->212992] S=[212992->212992]
Tue Apr 19 17:50:03 2022 UDP link local: (not bound)
Tue Apr 19 17:50:03 2022 UDP link remote: [AF_INET]34.231.47.189:1194
Thanks in advance!