Can OpenWRT with WireGuard prioritize VPN-servers?

Hello!

Will the WireGuard client in OpenWRT prioritize to use #1 vpn server all the time when it is online?

For example:
if #1 VPN-server goes offline, it failover to #2 VPN-server. But will it jump back to #1 VPN-server when its online again?

Do I need a custom script for this?

Thank you for trying to help me.
:slightly_smiling_face:

Yes you will.

EDIT: mwan3 might also be used for this.

1 Like

Ohh, noooo :scream:

Maybe ChatGPT or similar can make me a script..

EDIT:
if someone wants to help me I could pay for this, not much but at least $100 over paypal or something.

grettings from sweden.

2 Likes

(Just be sure the AI doesn't hallucinate and provide an incorrect answer/bad code.)

1 Like

You should ask at ddwrt forum. Your chadscript clearly says you do not use OpenWrt.

I have removed all ai related posts in this thread.

What version of OpenWrt is in use here?

ubus call system board
1 Like

Yeah, I did a misstake my MR7350 dont seem to be supported by OpenWRT. :confused:

In general someone would simple use a dynamic routing protocol like bgp to achieve this. But as far as I know for some reason none of the vpn providers offers that.
But no one hinders you to rent 3 VM in different countries and doing it by yourself.

Since you don’t have a device supported by OpenWrt, I’ll close this thread.

1 Like