OpenVPN with Dynamic DNS
Hey there,
I was able to set up Dynamic DNS and OpenVPN on my router by reading the TPLink community forum and help files.
My Windows laptop and Android phone both connect to the VPN when I use my router's IP address and I am also connected to the router for the internet(example in the configuration file: remote 123.201.241.144 1194) to establish a connection.
Nevertheless, the connection fails with the error "Unknown Error" when I try to utilize DDNS addresses (for example, remote xxxx.tplinkdns.com 1194 on the configuration file).
Logs:
Sun Apr 9 06:56:05 2023 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
Sun Apr 9 06:56:05 2023 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). OpenVPN ignores --cipher for cipher negotiations.
Sun Apr 9 06:56:05 2023 OpenVPN 2.6.2 [git:v2.6.2/3577442530eb7830] Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Mar 24 2023
Sun Apr 9 06:56:05 2023 Windows version 10.0 (Windows 10 or greater), amd64 executable
Sun Apr 9 06:56:05 2023 library versions: OpenSSL 3.0.8 7 Feb 2023, LZO 2.10
Sun Apr 9 06:56:05 2023 DCO version: v0
Sun Apr 9 06:56:07 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]123.201.241.144:1194
Sun Apr 9 06:56:07 2023 Attempting to establish TCP connection with [AF_INET]123.201.241.144:1194
Sun Apr 9 06:58:08 2023 TCP: connect to [AF_INET]123.201.241.144:1194 failed: Unknown error
Sun Apr 9 06:58:08 2023 SIGUSR1[connection failed(soft),connection-failed] received, process restarting
Sun Apr 9 06:58:09 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]123.201.241.144:1194
Sun Apr 9 06:58:09 2023 Attempting to establish TCP connection with [AF_INET]123.201.241.144:1194
Also, regardless of what settings I have in the config file, I am unable to connect to the VPN server from an external network (tried my mobile network by disconnecting from the router).
Thank you, and I'll be waiting for your response.
Shreyas