I would like to connect a MT router (ROS 7.14.3) to remote OVPN server. My .ovpn config looks like this:
Code: Select all
client
proto udp
explicit-exit-notify
remote AAA.AAA.AAA.AAA PPPP
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name XYZ name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
<ca>
-----BEGIN CERTIFICATE-----
..........
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
..........
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
..........
-----END PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
..........
-----END OpenVPN Static key V1-----
</tls-auth>
It was imported by WinBox successful (i.e. it did not report any errors). Nevertheless, 30 seconds (timeout?) after enabling the interface I see error:
Code: Select all
terminating... - TLS error: handshake timed out (6)
The same config works great on Linux OVPN client on my laptop (especially tested it) so one can rule out an issue on the server's side.