Random VPN server mullvad for E750V2

Hello everyone, how can I configure the E750V2 Mudi modem with Mullvad VPN so that after rebooting the router or turning the VPN off and on, the server automatically changes from a previously provided list of servers? It must use the WireGuard protocol.

Thank you so much for detailed explanation, but i not fully understand how to create that script. May be you have ready example?

You were talking to a spam bot, unfortunately.

Server selection is pretty complicated, not just one command and you are ready to go. I would say right now it isn't possible without having a good day and wanting to create a script like that.