Hello!
I have a RT-AX56U with Asuswrt Merlin Firmware Version:384.18 and I setup a OpenVpn server. I imported the certificate from server and the problem is the clients from Android or Windows 10 can't connect to the Openvpn server.
On ther server side on RT-AX56U:
Oct 28 21:34:34 ovpn-server2[18300]: MULTI: multi_create_instance called
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Re-using SSL/TLS context
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 TLS: Initial packet from [AF_INET]192.168.50.218:53237, sid=35e6ddb0 8a1dd964
Oct 28 21:35:34 ovpn-server2[18300]: 192.168.50.218:53237 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Oct 28 21:35:34 ovpn-server2[18300]: 192.168.50.218:53237 TLS Error: TLS handshake failed
Oct 28 21:35:34 ovpn-server2[18300]: 192.168.50.218:53237 SIGUSR1[soft,tls-error] received, client-instance restarting
Oct 28 21:35:39 ovpn-server2[18300]: MULTI: multi_create_instance called
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Re-using SSL/TLS context
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 TLS: Initial packet from [AF_INET]192.168.50.218:57000, sid=26a6871e c31f638c
and on the client side (Win 10):
Wed Oct 28 21:34:23 2020 Note: Treating option '--ncp-ciphers' as '--data-ciphers' (renamed in OpenVPN 2.5).
Wed Oct 28 21:34:23 2020 OpenVPN 2.5_rc3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 19 2020
Wed Oct 28 21:34:23 2020 Windows version 10.0 (Windows 10 or greater) 64bit
Wed Oct 28 21:34:23 2020 library versions: OpenSSL 1.1.1h 22 Sep 2020, LZO 2.10
Wed Oct 28 21:34:34 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:34:34 2020 UDP link local: (not bound)
Wed Oct 28 21:34:34 2020 UDP link remote: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:35:34 2020 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Oct 28 21:35:34 2020 SIGUSR1[soft,ping-restart] received, process restarting
Wed Oct 28 21:35:39 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:35:39 2020 UDP link local: (not bound)
Wed Oct 28 21:35:39 2020 UDP link remote: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:36:39 2020 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Oct 28 21:36:39 2020 SIGUSR1[soft,ping-restart] received, process restarting
Wed Oct 28 21:36:45 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:36:45 2020 UDP link local: (not bound)
Wed Oct 28 21:36:45 2020 UDP link remote: [AF_INET]100.117.54.49:1194
Can somebody tell me why clients can't connect to the OpenVpn server.
I have a RT-AX56U with Asuswrt Merlin Firmware Version:384.18 and I setup a OpenVpn server. I imported the certificate from server and the problem is the clients from Android or Windows 10 can't connect to the Openvpn server.
On ther server side on RT-AX56U:
Oct 28 21:34:34 ovpn-server2[18300]: MULTI: multi_create_instance called
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Re-using SSL/TLS context
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Oct 28 21:34:34 ovpn-server2[18300]: 192.168.50.218:53237 TLS: Initial packet from [AF_INET]192.168.50.218:53237, sid=35e6ddb0 8a1dd964
Oct 28 21:35:34 ovpn-server2[18300]: 192.168.50.218:53237 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Oct 28 21:35:34 ovpn-server2[18300]: 192.168.50.218:53237 TLS Error: TLS handshake failed
Oct 28 21:35:34 ovpn-server2[18300]: 192.168.50.218:53237 SIGUSR1[soft,tls-error] received, client-instance restarting
Oct 28 21:35:39 ovpn-server2[18300]: MULTI: multi_create_instance called
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Re-using SSL/TLS context
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Oct 28 21:35:39 ovpn-server2[18300]: 192.168.50.218:57000 TLS: Initial packet from [AF_INET]192.168.50.218:57000, sid=26a6871e c31f638c
and on the client side (Win 10):
Wed Oct 28 21:34:23 2020 Note: Treating option '--ncp-ciphers' as '--data-ciphers' (renamed in OpenVPN 2.5).
Wed Oct 28 21:34:23 2020 OpenVPN 2.5_rc3 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 19 2020
Wed Oct 28 21:34:23 2020 Windows version 10.0 (Windows 10 or greater) 64bit
Wed Oct 28 21:34:23 2020 library versions: OpenSSL 1.1.1h 22 Sep 2020, LZO 2.10
Wed Oct 28 21:34:34 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:34:34 2020 UDP link local: (not bound)
Wed Oct 28 21:34:34 2020 UDP link remote: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:35:34 2020 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Oct 28 21:35:34 2020 SIGUSR1[soft,ping-restart] received, process restarting
Wed Oct 28 21:35:39 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:35:39 2020 UDP link local: (not bound)
Wed Oct 28 21:35:39 2020 UDP link remote: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:36:39 2020 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Oct 28 21:36:39 2020 SIGUSR1[soft,ping-restart] received, process restarting
Wed Oct 28 21:36:45 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]100.117.54.49:1194
Wed Oct 28 21:36:45 2020 UDP link local: (not bound)
Wed Oct 28 21:36:45 2020 UDP link remote: [AF_INET]100.117.54.49:1194
Can somebody tell me why clients can't connect to the OpenVpn server.