alphaswe DD-WRT User
Joined: 05 Apr 2025 Posts: 63
|
Posted: Fri Apr 11, 2025 11:56 Post subject: (Request) Wireguard client to prioritize VPN-servers. 1,2,3. |
|
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!  |
|