(Request) Wireguard client to prioritize VPN-servers. 1,2,3.

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions

Do you want a function to prioritize VPN-servers?
Yes, it could prioritize best server first.
100%
 100%  [ 1 ]
No.
0%
 0%  [ 0 ]
Total Votes : 1

Author Message
alphaswe
DD-WRT User


Joined: 05 Apr 2025
Posts: 66

PostPosted: Fri Apr 11, 2025 11:56    Post subject: (Request) Wireguard client to prioritize VPN-servers. 1,2,3. Reply with quote
Hello!

I would like to request a function to dd-wrt so that the WireGuard client prioritizes VPN-servers similar to OpenVPN client.

The issue is:
If #1 VPN-server goes offline, it can failover to #2 VPN-server. But it will not move back to #1 VPN-server when it is back online.

Why I need this:
For my self I need this because the #1 VPN-server has dedicated ip and the backup #2 VPN-server has shared ip so it dont work as good.

Detailed explanation:
alphaswe wrote:
1. First I blocked the #1 VPN server.
Command used: iptables -I OUTPUT -d (vpn ip #1) -j REJECT
Result: dd-wrt started using #2 VPN server - very good, failover works.

2. Then I blocked the #2 VPN server.
Command used: iptables -I OUTPUT -d (vpn ip #2) -j REJECT
Result: All VPN servers is blocked, no internet connection - very good, kill switch works.

3. Then I unblocked the #2 VPN server.
Command used: iptables -D OUTPUT -d (vpn ip #2) -j REJECT
Result: dd-wrt started using #2 VPN server - very good, started using second active VPN, killswitch and failover works.

4. Then I unblocked the #1 VPN server.
Command used: iptables -D OUTPUT -d (vpn ip #1) -j REJECT
Result: dd-wrt still using #2 VPN server - Fail, didnt prioritize #1 VPN server.
Full thread: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=338416


I have also started a Pool, so if more people want this function please vote.

Thank you guys! Shocked
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum