Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Script to Change LocalNet VPN Gateway

$
0
0

Hello,

We've configured a Site-to-Site VPN between Azure and our Onpremises site and its working perfectly.

We've a little problem that our on premises IP is Dynamic and we always need to monitor it to change it on our Local Network VPN Gateway (on Azure) in cases that the IP changes, as we can't use a DNS name on Gateway, we're looking for some alternative solution.

We've a Powershell script that gets the external IP address and output it to a file with the external IP.

I'd like to know if there is a way to get this file content (external IP) and change the VPN Gateway IP (of Local Network on Azure) with a Powershell Script.

This would help us to reduce our time to monitor the VPN constantly and its more easier to update it using this script.

Thanks,

Frederico.


Frederico Galinari Moyses FGM Soluções em Tecnologia



Viewing all articles
Browse latest Browse all 6513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>