OpenVPN server not working: TLS handshake failed
Hi there,
I'm trying to get a OpenVPN to work on my ER707-M2 router in controller mode. In order to do that I've done everything this guide says: https://www.tp-link.com/ae/support/faq/3633/.
However, when I try to connect my laptop to the VPN using the generated OVPN file, I get the following error (redacted my IP address):
Thu Sep 19 11:01:21 2024 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations.
Thu Sep 19 11:01:21 2024 OpenVPN 2.6.12 [git:v2.6.12/038a94bae57a446c] Windows [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Jul 18 2024
Thu Sep 19 11:01:21 2024 Windows version 10.0 (Windows 10 or greater), amd64 executable
Thu Sep 19 11:01:21 2024 library versions: OpenSSL 3.3.1 4 Jun 2024, LZO 2.10
Thu Sep 19 11:01:21 2024 DCO version: 1.2.1
Thu Sep 19 11:01:21 2024 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:1194
Thu Sep 19 11:01:21 2024 UDPv4 link local: (not bound)
Thu Sep 19 11:01:21 2024 UDPv4 link remote: [AF_INET]<IP_ADDRESS>:1194
Thu Sep 19 11:02:21 2024 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Thu Sep 19 11:02:21 2024 TLS Error: TLS handshake failed
Thu Sep 19 11:02:21 2024 SIGUSR1[soft,tls-error] received, process restarting
When I port forward 1194 to another port on my pc, it seems to work. This rules out the ISP blocking that port. There is no modem from my ISP involved, I use the ER707 directly.
I've also tried PPTP, which works. However, I can't get IPSec to work either.