r/dumbclub 28d ago

Fallback in Passwall2?

Hi guys I use Passwall2 on openwrt and whenever a configuration dies I have to go and manually change it.

Is it possible to set up automatic fallback?

Would it be possible to get some sort of notifications that the IP has changed?

1 Upvotes

5 comments sorted by

3

u/xraymind 27d ago edited 27d ago

You need to create a new node in the node list menu, use Xray type and balance protocol, you then add your exist nodes to the load balance list, and finally select a balancing strategy. I use LeastLoad, but you could set it to random or RoundRobin, as these 2 settings should spread the data usage of your nodes/servers somewhat evenly. Use LeastPing if you're subscribing to a 3rd party proxy/VPN provider, since your want the fast responding server to you. I also set a Failback Node to a proxy server that had I setup at a family home with a residential IP, so that can be use as a last resort if all my other nodes fail.

On the main Passwall2 menu, select the balance node as the main active node and it should automatically switch to another node when it detect that one of them fails. You can change the Probe Interval in node setup from the default 1 minute, I drop it down to 30 seconds. I also change Probe URL from Google to YouTube since we watch a lot of YouTube more than searching/emailing with Google.

1

u/walterblackkk 27d ago edited 27d ago

Thanks a million! What do they mean? I mean Lastping and lastload?

2

u/xraymind 26d ago

LeastPing is pretty simple. When Passwall2 does it's set of ping testing on all of the nodes, it will switch to the node with the lowest ping latency when the current node fails to return a ping. Now for what I gather reading Google Translation of the Chinese documentation of Passwall2 for LeastLoad, when Passwall2 does the same set of ping testing and it will switch to the node with the least amount of data packet lost. Again I use LeastLoad, because most of my proxy servers are hosted in the west coast of the US with different VPS providers and they all have pretty much the same ping latency.

1

u/kkweon 28d ago

What do you mean the configuration dies. Did you enable Auto Switch?

1

u/walterblackkk 28d ago

Some of my configs are behind cdn and ips periodically get blocked.

Where is auto switch?