Hi,
I’ve been trying to configure my RUTM50 as an access server using openvpn but I can’t get it to work.
I used this guide to setup the server (rutm50) and my windows client: Connecting to the office network remotely from your home via VPN (OpenVPN) using RUTX - Teltonika Networks Wiki
On the RUTX50 openvpn, I can see the connexion attemps, but I can’t figure out what the issues is from the logs.
On the client, I get the error connection timeout. I tried with a windows client as well as a macos client. Same error.
On the server side, I applied exactly the settings that were shown in the link above (keepalive, auth, certs, dh, tls method, etc)
Any help or pointers would be greatly appreciated!
Forgot to mention, but I’m using a 5G sim card and I have a valid public IP.
Client config:
client
dev tun_c_ovpn
proto udp
remote [HIDDEN FOR SAFETY REASONS] 1194
resolv-retry infinite
keepalive 5 10
nobind
persist-key
persist-tun
verb 3
-----BEGIN CERTIFICATE-----
[HIDDEN FOR SAFETY REASONS]
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
[HIDDEN FOR SAFETY REASONS]
-----END CERTIFICATE-----
-----BEGIN PRIVATE KEY-----
[HIDDEN FOR SAFETY REASONS]
-----END PRIVATE KEY-----
Server logs:
Sun May 26 21:26:38 2024 daemon.notice openvpn(Hidden)[21247]: MULTI: multi_create_instance called
Sun May 26 21:26:38 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 Re-using SSL/TLS context
Sun May 26 21:26:38 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun May 26 21:26:38 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Sun May 26 21:26:38 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 Local Options String (VER=V4): ‘V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA1,keysize 256,key-method 2,tls-server’
Sun May 26 21:26:38 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 Expected Remote Options String (VER=V4): ‘V4,dev-type tun,link-mtu 1557,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA1,keysize 256,key-method 2,tls-client’
Sun May 26 21:26:38 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 TLS: Initial packet from [AF_INET]192.168.1.223:63940, sid=cd29a63e c0c1cf43
Sun May 26 21:26:46 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63987 [UNDEF] Inactivity timeout (–ping-restart), restarting
Sun May 26 21:26:46 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63987 SIGUSR1[soft,ping-restart] received, client-instance restarting
Sun May 26 21:26:57 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:54897 [UNDEF] Inactivity timeout (–ping-restart), restarting
Sun May 26 21:26:57 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:54897 SIGUSR1[soft,ping-restart] received, client-instance restarting
Sun May 26 21:27:06 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 [UNDEF] Inactivity timeout (–ping-restart), restarting
Sun May 26 21:27:06 2024 daemon.notice openvpn(Hidden)[21247]: 192.168.1.223:63940 SIGUSR1[soft,ping-restart] received, client-instance restarting