I have 5+ year old openvpn config (so there may be strange option choices ) which still works on ubuntu16, below. Now I am porting it to openwrt 23.05.5 (r24106-10cc5fcd00), took me a while to reenter everything using the gui, and this is the result which is very much same as the original, except it does not work:
Assertion failed at socket.c:460
appears in the kernel log. OpenVPN 2.5.8 so it is this:
Which hardly makes sense as remote
points to a valid server which I can ping from the openwrt router, so it resolves. What is missing?
root@OpenWrt:~# cat /var/etc/openvpn-xxxxx.conf
client
nobind
ca /etc/openvpn/ca.crt
cert /etc/openvpn/vpnclient1.crt
cipher AES-256-GCM
comp-lzo yes
dev tun
dh /etc/openvpn/dh2048.pem
key /etc/openvpn/vpnclient1.key
port 1194
proto tcp-server
remote zzzzzz.xxx
remote-cert-tls server
verb 3