[PowerShell] Update your Azure S2S VPN with Dynamic Public IP

May 30, 2016 at 6:00 am in Azure, Azure Automation, Microsoft, PowerShell by Florent

I created a S2S VPN with my Azure subscription and, because I don’t a fix public IP @ Home, I searched on internet and I found a blog post who speak about this subject: https://www.vnext.be/2013/12/01/windows-azure-s2s-vpn-with-dynamic-public-ip/

The only problem is, that this script is for azure classic and not for Azure RM.

So I modified this script to update your dynamic public IP on Azure, to have a limited disruption of your VPN S2S with ARM. At my home, this script is executed every 5 minutes. I will do an Azure Automation version later

Don’t hesitate to give me your comments/remarks Sourire

The link: https://gallery.technet.microsoft.com/Update-AzureRM-S2S-VPN-c46cc39e