Answer the question
In order to leave comments, you need to log in
What is the cause of the error in OpenVPN?
There is an OpenVPN server on vps and a client router on OpenWRT.
[email protected]:~# ip route sh
0.0.0.0/1 via 10.8.0.1 dev tun0
default via 192.168.80.1 dev eth1 src 192.168.80.52
10.8.0.0/24 dev tun0 scope link src 10.8.0.2
128.0.0.0/1 via 10.8.0.1 dev tun0
192.168.0.0/24 dev br-lan scope link src 192.168.0.1
192.168.80.0/24 dev eth1 scope link src 192.168.80.52
XXX:XXX:XXX:XXX via 192.168.80.1 dev eth1
[email protected]:~# ip route sh
0.0.0.0/1 via 10.8.0.1 dev tun0
default via 192.168.80.1 dev eth1 src 192.168.80.52
10.8.0.0/24 dev tun0 scope link src 10.8.0.2
128.0.0.0/1 via 10.8.0.1 dev tun0
192.168.0.0/24 dev br-lan scope link src 192.168.0.1
192.168.80.0/24 dev eth1 scope link src 192.168.80.52
Answer the question
In order to leave comments, you need to log in
XXX:XXX:XXX:XXX via 192.168.80.1 dev eth1
Write this route statically, nail it down. Who knows why it falls off, maybe for a second the link disappears and is restored, and OpenVPN does not notice this event. Well, you can still play around with different options for the keepalive parameter, I'm not sure what will help, but it won't get worse.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question