Hello,
My VPN connection to RMS keeps disconnecting. Sometimes between 2 to 3 times within a minute. I have tested this on 2 different networks but the issue stays the same. Below you can find OpenVPN log.
⏎[Nov 22, 2023, 15:19:21] Client terminated, restarting in 2000 ms…
⏎[Nov 22, 2023, 15:19:21] SetupClient: signaling tun destroy event
⏎[Nov 22, 2023, 15:19:22] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:19:22] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:19:22] Contacting 3.65.167.143:38700 via UDP
⏎[Nov 22, 2023, 15:19:22] EVENT: WAIT ⏎[Nov 22, 2023, 15:19:22] WinCommandAgent: transmitting bypass route to 3.65.167.143
{
“host” : “3.65.167.143”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:19:23] Connecting to [3.65.167.143]:38700 (3.65.167.143) via UDPv4
⏎[Nov 22, 2023, 15:19:32] Server poll timeout, trying next remote entry…
⏎[Nov 22, 2023, 15:19:32] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:19:32] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:19:32] Contacting 3.69.106.81:38700 via UDP
⏎[Nov 22, 2023, 15:19:32] EVENT: WAIT ⏎[Nov 22, 2023, 15:19:32] WinCommandAgent: transmitting bypass route to 3.69.106.81
{
“host” : “3.69.106.81”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:19:33] Connecting to [3.69.106.81]:38700 (3.69.106.81) via UDPv4
⏎[Nov 22, 2023, 15:19:42] Server poll timeout, trying next remote entry…
⏎[Nov 22, 2023, 15:19:42] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:19:42] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:19:42] Contacting 3.65.167.143:38700 via UDP
⏎[Nov 22, 2023, 15:19:42] EVENT: WAIT ⏎[Nov 22, 2023, 15:19:42] WinCommandAgent: transmitting bypass route to 3.65.167.143
{
“host” : “3.65.167.143”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:19:43] Connecting to [3.65.167.143]:38700 (3.65.167.143) via UDPv4
⏎[Nov 22, 2023, 15:19:43] EVENT: CONNECTING ⏎[Nov 22, 2023, 15:19:43] Tunnel Options:V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client
⏎[Nov 22, 2023, 15:19:43] Creds: UsernameEmpty/PasswordEmpty
⏎[Nov 22, 2023, 15:19:43] Peer Info:
IV_VER=3.git::d3f8b18b
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:BF-CBC
IV_AUTO_SESS=1
IV_GUI_VER=OCWindows_3.3.6-2752
IV_SSO=webauth,openurl,crtext
IV_BS64DL=1
⏎[Nov 22, 2023, 15:19:43] SSL Handshake: peer certificate: CN=teltonika-vpn-pMcNEUfYxTmxtfNe, 2048 bit RSA, cipher: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
⏎[Nov 22, 2023, 15:19:43] Session is ACTIVE
⏎[Nov 22, 2023, 15:19:43] EVENT: GET_CONFIG ⏎[Nov 22, 2023, 15:19:43] Sending PUSH_REQUEST to server…
⏎[Nov 22, 2023, 15:19:43] OPTIONS:
0 [comp-lzo] [no]
1 [route] [10.100.2.0] [255.255.255.0]
2 [route] [10.100.3.0] [255.255.255.0]
3 [route] [10.100.1.0] [255.255.255.0]
4 [route] [192.168.255.0] [255.255.255.0]
5 [topology] [net30]
6 [ping] [5]
7 [ping-restart] [15]
8 [ifconfig] [192.168.255.6] [192.168.255.5]
9 [peer-id] [2]
10 [cipher] [AES-256-GCM]
⏎[Nov 22, 2023, 15:19:43] PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: NONE
key-derivation: OpenVPN PRF
compress: LZO_STUB
peer ID: 2
control channel: tls-auth enabled
⏎[Nov 22, 2023, 15:19:43] EVENT: ASSIGN_IP ⏎[Nov 22, 2023, 15:19:43] CAPTURED OPTIONS:
Session Name: 3.69.106.81
Layer: OSI_LAYER_3
Remote Address: 3.65.167.143
Tunnel Addresses:
192.168.255.6/30 → 192.168.255.5 [net30]
Reroute Gateway: IPv4=0 IPv6=0 flags=[ IPv4 ]
Block IPv6: no
Add Routes:
10.100.2.0/24
10.100.3.0/24
10.100.1.0/24
192.168.255.0/24
Exclude Routes:
DNS Servers:
Search Domains:
⏎[Nov 22, 2023, 15:19:44] SetupClient: transmitting tun setup list to \.\pipe\agent_ovpnconnect
{
“allow_local_dns_resolvers” : false,
“confirm_event” : “ec15000000000000”,
“destroy_event” : “3015000000000000”,
“tun” :
{
“adapter_domain_suffix” : “”,
“add_routes” :
[
{
“address” : “10.100.2.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
},
{
“address” : “10.100.3.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
},
{
“address” : “10.100.1.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
},
{
“address” : “192.168.255.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
}
],
“block_ipv6” : false,
“layer” : 3,
“mtu” : 0,
“remote_address” :
{
“address” : “3.65.167.143”,
“ipv6” : false
},
“reroute_gw” :
{
“flags” : 256,
“ipv4” : false,
“ipv6” : false
},
“route_metric_default” : -1,
“session_name” : “3.69.106.81”,
“tunnel_address_index_ipv4” : 0,
“tunnel_address_index_ipv6” : -1,
“tunnel_addresses” :
[
{
“address” : “192.168.255.6”,
“gateway” : “192.168.255.5”,
“ipv6” : false,
“metric” : -1,
“net30” : true,
“prefix_length” : 30
}
]
},
“wintun” : false
}
POST np://[\.\pipe\agent_ovpnconnect]/tun-setup : 200 OK
TAP ADAPTERS:
guid=‘{002521F3-069E-4F29-B8A5-910F5E55810C}’ index=2 name=‘LAN-verbinding 2’
Open TAP device “LAN-verbinding 2” PATH=“\.\Global{002521F3-069E-4F29-B8A5-910F5E55810C}.tap” SUCCEEDED
TAP-Windows Driver Version 9.24
ActionDeleteAllRoutesOnInterface iface_index=2
netsh interface ip set interface 2 metric=1
Ok.
netsh interface ip set address 2 static 192.168.255.6 255.255.255.252 gateway=192.168.255.5 store=active
IPHelper: add route 10.100.2.0/24 2 192.168.255.5 metric=-1
IPHelper: add route 10.100.3.0/24 2 192.168.255.5 metric=-1
IPHelper: add route 10.100.1.0/24 2 192.168.255.5 metric=-1
IPHelper: add route 192.168.255.0/24 2 192.168.255.5 metric=-1
ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
TAP: ARP flush succeeded
TAP handle: 1c07000000000000
⏎[Nov 22, 2023, 15:19:44] Connected via TUN_WIN
⏎[Nov 22, 2023, 15:19:44] LZO-ASYM init swap=0 asym=1
⏎[Nov 22, 2023, 15:19:44] Comp-stub init swap=0
⏎[Nov 22, 2023, 15:19:44] EVENT: CONNECTED 3.65.167.143:38700 (3.65.167.143) via /UDPv4 on TUN_WIN/192.168.255.6/ gw=[192.168.255.5/]⏎[Nov 22, 2023, 15:20:28] Session invalidated: KEEPALIVE_TIMEOUT
⏎[Nov 22, 2023, 15:20:28] Client terminated, restarting in 2000 ms…
⏎[Nov 22, 2023, 15:20:28] SetupClient: signaling tun destroy event
⏎[Nov 22, 2023, 15:20:30] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:20:30] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:20:30] Contacting 3.65.167.143:38700 via UDP
⏎[Nov 22, 2023, 15:20:30] EVENT: WAIT ⏎[Nov 22, 2023, 15:20:30] WinCommandAgent: transmitting bypass route to 3.65.167.143
{
“host” : “3.65.167.143”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:20:30] Connecting to [3.65.167.143]:38700 (3.65.167.143) via UDPv4
⏎[Nov 22, 2023, 15:20:32] EVENT: CONNECTING ⏎[Nov 22, 2023, 15:21:30] EVENT: PAUSE ⏎[Nov 22, 2023, 15:21:30] EVENT: RESUME ⏎[Nov 22, 2023, 15:21:30] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:21:30] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:21:30] Contacting 3.69.106.81:38700 via UDP
⏎[Nov 22, 2023, 15:21:30] EVENT: WAIT ⏎[Nov 22, 2023, 15:21:30] WinCommandAgent: transmitting bypass route to 3.69.106.81
{
“host” : “3.69.106.81”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:21:30] Connecting to [3.69.106.81]:38700 (3.69.106.81) via UDPv4
⏎[Nov 22, 2023, 15:21:40] Server poll timeout, trying next remote entry…
⏎[Nov 22, 2023, 15:21:40] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:21:40] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:21:40] Contacting 3.65.167.143:38700 via UDP
⏎[Nov 22, 2023, 15:21:40] EVENT: WAIT ⏎[Nov 22, 2023, 15:21:40] WinCommandAgent: transmitting bypass route to 3.65.167.143
{
“host” : “3.65.167.143”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:21:40] Connecting to [3.65.167.143]:38700 (3.65.167.143) via UDPv4
⏎[Nov 22, 2023, 15:21:50] Server poll timeout, trying next remote entry…
⏎[Nov 22, 2023, 15:21:50] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:21:50] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:21:50] Contacting 3.69.106.81:38700 via UDP
⏎[Nov 22, 2023, 15:21:50] EVENT: WAIT ⏎[Nov 22, 2023, 15:21:50] WinCommandAgent: transmitting bypass route to 3.69.106.81
{
“host” : “3.69.106.81”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:21:50] Connecting to [3.69.106.81]:38700 (3.69.106.81) via UDPv4
⏎[Nov 22, 2023, 15:22:00] Server poll timeout, trying next remote entry…
⏎[Nov 22, 2023, 15:22:00] EVENT: RECONNECTING ⏎[Nov 22, 2023, 15:22:00] EVENT: RESOLVE ⏎[Nov 22, 2023, 15:22:00] Contacting 3.65.167.143:38700 via UDP
⏎[Nov 22, 2023, 15:22:00] EVENT: WAIT ⏎[Nov 22, 2023, 15:22:00] WinCommandAgent: transmitting bypass route to 3.65.167.143
{
“host” : “3.65.167.143”,
“ipv6” : false
}
⏎[Nov 22, 2023, 15:22:00] Connecting to [3.65.167.143]:38700 (3.65.167.143) via UDPv4
⏎[Nov 22, 2023, 15:22:04] EVENT: CONNECTING ⏎[Nov 22, 2023, 15:22:04] Tunnel Options:V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client
⏎[Nov 22, 2023, 15:22:04] Creds: UsernameEmpty/PasswordEmpty
⏎[Nov 22, 2023, 15:22:04] Peer Info:
IV_VER=3.git::d3f8b18b
IV_PLAT=win
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:BF-CBC
IV_AUTO_SESS=1
IV_GUI_VER=OCWindows_3.3.6-2752
IV_SSO=webauth,openurl,crtext
IV_BS64DL=1
⏎[Nov 22, 2023, 15:22:04] SSL Handshake: peer certificate: CN=teltonika-vpn-pMcNEUfYxTmxtfNe, 2048 bit RSA, cipher: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD
⏎[Nov 22, 2023, 15:22:04] Session is ACTIVE
⏎[Nov 22, 2023, 15:22:04] EVENT: GET_CONFIG ⏎[Nov 22, 2023, 15:22:04] Sending PUSH_REQUEST to server…
⏎[Nov 22, 2023, 15:22:04] OPTIONS:
0 [comp-lzo] [no]
1 [route] [10.100.2.0] [255.255.255.0]
2 [route] [10.100.3.0] [255.255.255.0]
3 [route] [10.100.1.0] [255.255.255.0]
4 [route] [192.168.255.0] [255.255.255.0]
5 [topology] [net30]
6 [ping] [5]
7 [ping-restart] [15]
8 [ifconfig] [192.168.255.6] [192.168.255.5]
9 [peer-id] [0]
10 [cipher] [AES-256-GCM]
⏎[Nov 22, 2023, 15:22:04] PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: NONE
key-derivation: OpenVPN PRF
compress: LZO_STUB
peer ID: 0
control channel: tls-auth enabled
⏎[Nov 22, 2023, 15:22:04] EVENT: ASSIGN_IP ⏎[Nov 22, 2023, 15:22:04] CAPTURED OPTIONS:
Session Name: 3.69.106.81
Layer: OSI_LAYER_3
Remote Address: 3.65.167.143
Tunnel Addresses:
192.168.255.6/30 → 192.168.255.5 [net30]
Reroute Gateway: IPv4=0 IPv6=0 flags=[ IPv4 ]
Block IPv6: no
Add Routes:
10.100.2.0/24
10.100.3.0/24
10.100.1.0/24
192.168.255.0/24
Exclude Routes:
DNS Servers:
Search Domains:
⏎[Nov 22, 2023, 15:22:05] SetupClient: transmitting tun setup list to \.\pipe\agent_ovpnconnect
{
“allow_local_dns_resolvers” : false,
“confirm_event” : “fc15000000000000”,
“destroy_event” : “3c12000000000000”,
“tun” :
{
“adapter_domain_suffix” : “”,
“add_routes” :
[
{
“address” : “10.100.2.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
},
{
“address” : “10.100.3.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
},
{
“address” : “10.100.1.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
},
{
“address” : “192.168.255.0”,
“gateway” : “”,
“ipv6” : false,
“metric” : -1,
“net30” : false,
“prefix_length” : 24
}
],
“block_ipv6” : false,
“layer” : 3,
“mtu” : 0,
“remote_address” :
{
“address” : “3.65.167.143”,
“ipv6” : false
},
“reroute_gw” :
{
“flags” : 256,
“ipv4” : false,
“ipv6” : false
},
“route_metric_default” : -1,
“session_name” : “3.69.106.81”,
“tunnel_address_index_ipv4” : 0,
“tunnel_address_index_ipv6” : -1,
“tunnel_addresses” :
[
{
“address” : “192.168.255.6”,
“gateway” : “192.168.255.5”,
“ipv6” : false,
“metric” : -1,
“net30” : true,
“prefix_length” : 30
}
]
},
“wintun” : false
}
POST np://[\.\pipe\agent_ovpnconnect]/tun-setup : 200 OK
TAP ADAPTERS:
guid=‘{002521F3-069E-4F29-B8A5-910F5E55810C}’ index=2 name=‘LAN-verbinding 2’
Open TAP device “LAN-verbinding 2” PATH=“\.\Global{002521F3-069E-4F29-B8A5-910F5E55810C}.tap” SUCCEEDED
TAP-Windows Driver Version 9.24
ActionDeleteAllRoutesOnInterface iface_index=2
netsh interface ip set interface 2 metric=1
Ok.
netsh interface ip set address 2 static 192.168.255.6 255.255.255.252 gateway=192.168.255.5 store=active
IPHelper: add route 10.100.2.0/24 2 192.168.255.5 metric=-1
IPHelper: add route 10.100.3.0/24 2 192.168.255.5 metric=-1
IPHelper: add route 10.100.1.0/24 2 192.168.255.5 metric=-1
IPHelper: add route 192.168.255.0/24 2 192.168.255.5 metric=-1
ipconfig /flushdns
Windows IP Configuration
Successfully flushed the DNS Resolver Cache.
TAP: ARP flush succeeded
TAP handle: 2c18000000000000
⏎[Nov 22, 2023, 15:22:05] Connected via TUN_WIN
⏎[Nov 22, 2023, 15:22:05] LZO-ASYM init swap=0 asym=1
⏎[Nov 22, 2023, 15:22:05] Comp-stub init swap=0
⏎[Nov 22, 2023, 15:22:05] EVENT: CONNECTED 3.65.167.143:38700 (3.65.167.143) via /UDPv4 on TUN_WIN/192.168.255.6/ gw=[192.168.255.5/]⏎