Hi. can you, please, elaborate on the following case.
asus wl500gp-router(openvpn client 2.3.4, works over LTE/Huawei3372) worked for several years with asus rt-n66u(openvpn server 2.4.3). No remarks. The only problem with wl500gp it can't provide more them 7mbps, being connected to the internet via usb-modem. So wl500gp was replaced recently with rt-n16u (flashed to the same firmware line as wl500gp, to allow easier settings migration. i spent many days configuring openvpn connection).
After switching over, openvpn connection starts. Initially no remarks. But later i realized, that session disconnects frequently. One of the cases causing disconnect is - receiving rtsp/camera stream over open vpn tunnel for some time (20-30seconds). In client logs it looks like this:
Sun Apr 15 10:33:29 2018 us=737560 TCPv4_CLIENT WRITE [96] to [AF_INET]95.165.151.118:1194: P_DATA_V2 kid=0 DATA 000000d7 9a19541e ea9c7114 20172f07 95dc7e64 a43f9ed4 8c0fa206 02867b3[more...]
Sun Apr 15 10:33:29 2018 us=737764 TCPv4_CLIENT write returned 98
Sun Apr 15 10:33:30 2018 us=599468 event_wait returned 1
Sun Apr 15 10:33:30 2018 us=599703 Connection reset, restarting [0]
Another case - accessing remotely(from server side of vpn) modem/stats page (192.168.8.1). After app/redirect to
http://192.168.8.1/html/index.html, openvpn tunnel is destroyed. I have no good explanation for this behavior. Clent logs are similar.
below is the client ovpn contents:
[oconf=]
client
dev tun
proto tcp-client
remote xx.xx.xx.xx 1194
float
comp-lzo adaptive
keepalive 15 60
ns-cert-type server
ca /usr/local/sbin/openvpn/ca.crt
cert /usr/local/sbin/openvpn/dacha.crt
key /usr/local/sbin/openvpn/dacha.key
verb 4
log /opt/var/log/openvpn/openvpn.log
status /opt/var/log/openvpn/status.log
pull
resolv-retry infinite
nobind
[/oconf]