2016年2月15日 星期一

使用Azure Resource Manager建立On-Premise與Azure間的Site to Site VPN

客戶想使用Azure Resource Manager建立On-Premises與Azure間的Site to Site VPN ,

但微軟官方提供的UI或PowerShell步驟稍為複雜 , 如以下網址 :

https://azure.microsoft.com/en-us/documentation/articles/vpn-gateway-create-site-to-site-rm-powershell/
故建議客戶改用Azure Quick Template中的Site to Site VPN範本進行建立 , 可以在一個表單

中填入VPN相關資訊即可完成 , 如以下網址 :

https://azure.microsoft.com/en-us/documentation/templates/101-site-to-site-vpn-create/

點選Deploy to Azure按鈕 

計算Gateway Subnet工具 (http://www.subnet-calculator.com/cidr.php)



在Azure Site to Site VPN Quick Template填入VPN相關資訊即可完成Azure端VPN設定



小編的VPN設備是使用Windows 2012 RRAS , 故只需修改vpndevicescript.cfg中的Azure

VPN Public IP及Share Key即可 , vpndevicescript.cfg如以下 :


使用Azure Resource Manager即可查看Site to Site VPN連線狀況 , 檢查連入/連出資料是否

有數值增加

沒有留言:

張貼留言