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
150 views 4 comments
by anonymous

RUT 955 opnvpn configuration

settings

client
dev tun_c_ovpn
proto udp
resolv-retry infinite
keepalive 10 120
nobind
persist-key
persist-tun
verb 3
<ca>

1 Answer

0 votes
by anonymous
Hello,

Could you please start by explaining the issue?

Best regards,
by anonymous
Please help me configure the openvpn server on rut955 and the client connects to openvpn windows
I sent the configuration above
by anonymous

Try the following:

client
dev tun
proto udp
remote <Public_IP> 1194
resolv-retry infinite
nobind
persist-key
persist-tun
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
cipher AES-128-GCM
verb 5
by anonymous

and the rut955 openvpn settings are fine as in the attached screenshots

client opnvpn log

Fri Mar 24 12:46:59 2023 Re-using SSL/TLS context

Fri Mar 24 12:46:59 2023 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]

Fri Mar 24 12:46:59 2023 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]

Fri Mar 24 12:46:59 2023 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1549,tun-mtu 1500,proto UDPv4,cipher AES-128-GCM,auth [null-digest],keysize 128,key-method 2,tls-client'

Fri Mar 24 12:46:59 2023 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1549,tun-mtu 1500,proto UDPv4,cipher AES-128-GCM,auth [null-digest],keysize 128,key-method 2,tls-server'

Fri Mar 24 12:46:59 2023 TCP/UDP: Preserving recently used remote address: [AF_INET]

Fri Mar 24 12:46:59 2023 Socket Buffers: R=[65536->65536] S=[65536->65536]

Fri Mar 24 12:46:59 2023 UDP link local: (not bound)

Fri Mar 24 12:46:59 2023 UDP link remote: [AF_INET]

Fri Mar 24 12:46:59 2023 MANAGEMENT: >STATE:1679658419,WAIT,,,,,,

by anonymous
Could you send the troubleshoot file from the RUT955 device in a private message, to avoid sharing sensitive details, such as your public IP?

The logs you have provided are not very indicative.

Best regards,