The link where you referring to it's about openVPN between 2 RUT routers. While I want to use the RUT240 as openVPN server and on a Windows PC an openVPN Client.
With the 7.x.x release, certificates can be generated by the RUT240 itself and you can assign these to the openVPN server but neverless I cannot connect to it using the openVPN client on a Windows 10 machine.
On the Windows openVPN client I see this in the log:
2022-01-07 21:55:11 us=470901 UDP link remote: [AF_INET]178.225.247.212:1194
2022-01-07 21:55:11 us=470901 MANAGEMENT: >STATE:1641588911,WAIT,,,,,,
2022-01-07 21:56:11 us=708841 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
2022-01-07 21:56:11 us=708841 TLS Error: TLS handshake failed
2022-01-07 21:56:11 us=708841 TCP/UDP: Closing socket
while on the RUT240 I see:
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: MULTI: multi_create_instance called
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: IP_ADDRESS:63450 Re-using SSL/TLS context
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: IP_ADDRESS:63450 LZO compression initializing
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: IP_ADDRESS:63450 Control Channel MTU parms [ L:1622 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: IP_ADDRESS:63450 Data Channel MTU parms [ L:1622 D:1450 EF:122 EB:406 ET:0 EL:3 ]
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: IP_ADDRESS:63450 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1550,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-GCM,auth [null-digest],keysize 256,key-method 2,tls-server'
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: IP_ADDRESS:63450 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1550,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-GCM,auth [null-digest],keysize 256,key-method 2,tls-client'
Sun Jan 9 11:04:53 2022 daemon.notice openvpn(Server)[29764]: IP_ADDRESS:63450 TLS: Initial packet from [AF_INET]IP_ADDRESS:63450, sid=2f3d45f4 fc131f8e
(replaced the IP address with IP_ADDRESS