FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
451 views 1 comments
by

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,

1 Answer

0 votes
by anonymous

Hello.

Could you send me client and server config files via private messages? You can also try to configure the client instance manually, information with an example of configuration can be found here.

Best regards.

by anonymous
Hello,

I have the same problem. Did you fixed it????