This is how I set up up a whitelisted IP on an UpCloud VM and WordPress using a VPN to get a static IP address.
Read the full article here: https://fearby.com/article/set-up-up-a-whitelisted-ip-on-an-upcloud-vm-and-wordpress-using-a-vpn-to-get-a-static-ip-address