Hello,
I am not able to configure on my RUT240 an OpenVPN client via a *.opvn file generated by a RaspberryPi Server.
The content of the file seems to be ok:
client
proto udp
explicit-exit-notify
remote xxx.myfritz.net 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_O9IPpNGyJNRMesVk 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-----
xxx
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
xxx
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
xxx
</key>
<tls-crypt>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
xxx
-----END OpenVPN Static key V1-----
</tls-crypt>
The very same file works perfekt if I import it in an Ubuntu system!
Even if I enter the values manually the openvpn is not running:
root@Teltonika-RUT240:/tmp/log# ps | grep openvpn | grep -v grep
root@Teltonika-RUT240:/tmp/log# /etc/init.d/openvpn restart
root@Teltonika-RUT240:/tmp/log# ps | grep openvpn | grep -v grep
But Client is shown as "Active" and "Disconnected"
ifconfig does not show a tun device
What am I doing wrong?
Best regards,