RUTX50, firmware RUTX_R_00.07.04.5 also 00.07.04.4.
OpenVPN configuration file import not work. Error: Missing required option TUN/TAP.
On earlier firmware it works fine. Is it bug?
Hello,
The issue is most likely caused by the updated OpenVPN version, an in turn changed mandatory options.
Please post your .ovpn
file with sensitive information like IP addresses and certificates removed. Additionally, please post the full logs where the aforementioned error is received. Thank you!
Best regards,
Hello!
It works when I added these tree lines
option proto ‘udp’
option dev ‘tun_c_vpnname’
option port ‘1194’
to the /etc/config/openvpn file.
Here is .ovpn file
client
proto udp
explicit-exit-notify
remote xx.xx.xx.xx 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_vfxxxIIPgxxxxxx 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
verb 3
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
2048 bit OpenVPN static key
-----BEGIN OpenVPN Static key V1-----
-----END OpenVPN Static key V1-----
I get this all the time (with completely valid client configuration) when adding new client with config from file. Device is RUT241 with latest firmware, but same symptoms.
it complains, but eventually it goes away and everything just works.
Hello,
Have you tried following the suggestion from Korhonen?
If you did, and it did not help, please create a separate issue, describe the symptoms, and attach your .ovpn
file. Thank you!
Best regards,
This topic was automatically closed after 15 days. New replies are no longer allowed.