How to use mwan3 in openvpn server for client failover


I hava a openvpn server, and two connected client(same subnet), use static route to client subnet for now.

I want to use mwan3 failover these client, because they may down for moments

I can't find out correlation solution, so Is it possible? thank you!

Let's see how it looks now.

Please run the following commands (copy-paste the whole block) and paste the output here, using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have

ubus call system board; \
uci export network; uci export firewall; \
head -n -0 /etc/firewall.user; \
ip -4 addr ; ip -4 ro li tab all ; ip -4 ru; \
ls -l  /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/* ; head -n -0 /etc/resolv.* /tmp/resolv.* /tmp/resolv.*/*

sorry, it's too many personal information expose, I can't handle this :joy:

but, I think that no need for such trouble.

I have basic knowledge.the problem is mwan3 need interface, usually it's wan. In my case, I want to use local openvpn server connected remote client's as interface, and I dont't known how to do

thank again :smile:

You need to have the default route on the OpenVPN tunnel, add a metric to make it work with mwan, then use it as an interface in mwan3.

1 Like

thank reply

yestoday,I found the soulution finally. In this case, mwan3 is wrong choose. I real need is dynamic routing protocols, like ospf. Network knowledge hard for me :joy:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.