Right now, localIP is fetched only the first time, and save the value in a local environment variable. This may produce error in the future if the localIP change.
Solution:
- Refresh the local IP in the dappmanager, so the local IP is updated.
- Fetch the localIP every single time new VPN credentials requried in the VPN package.