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

Point-to-Site VPN Gateway setup via Powershell

$
0
0

Hi Folks,

Does anyone know whether it is possible to create, connect and subsequently tear-down a dynamic gateway.

Here's the use case : I only need to connect periodically to the VM's I have running for maintenance and do so via the VPN connection to prevent having these ports open to the internet. 

Problem is that even if the gateway is not being used you still get charged.

So would like to find a way of scripting the whole thing, rather than dropping into the GUI, creating gateway etc......

Otherwise it looks like a VPN endpoint server on the VM itself, as I don't think MS is about to change the charging model to hours connected in a hurry.

Cheers,

Mark


Viewing all articles
Browse latest Browse all 6513

Latest Images

Trending Articles



Latest Images

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