question

DaroSoler-2183 avatar image
0 Votes"
DaroSoler-2183 asked DaroSoler-2183 commented

Multiple VPN on a Windows VM

Hi there, I'm trying to set up 5 VPN, to diferents premises, on an Azure Windows VM. I'm trying to figure out which component(s) I should use from azure, since I can not add 5 NIC to the VM.
Thanks in advance,

azure-vpn-gatewayazure-virtual-machines-networking
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered DaroSoler-2183 commented

Hello @DaroSoler-2183, Thank you for reaching out. I think the requirement can be satisfied by having Multi-Site-to-Site VPN connection using Azure VPN Gateway. In Azure each virtual network can have only one VPN gateway but you can create multiple sit-to-site tunnels to the same VPN Gateway based on the SKU used and when you create multiple connections to the same VPN gateway, all VPN tunnels share the available gateway bandwidth. For additional information you can go through this document regarding Multi-Site VPN.

Please let me know if this not the correct solution for you I will be glad to continue with our discussion.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi ChaitanyaNaykodiMSFT !
Thanks for your prompt answer, So my concerning is once I have that set up, how will the VM know where to route the packages through the differents VPNs? if I ping to an IP from each IP range of each on premise subnet, will it be routed automatically?
Thanks in advance!

0 Votes 0 ·

Hello @DaroSoler-2183, Thank you for your response. When creating a Multi-Site-to-Site VPN connection you will have to use a RouteBased VPN type. RouteBased VPNs use "routes" in the IP forwarding or routing table to direct packets into their corresponding tunnel interfaces. You can go through this document for additional details on VPN types.
Hope this helps, please let me know if you have any additional questions. Thank you!

0 Votes 0 ·
DaroSoler-2183 avatar image DaroSoler-2183 ChaitanyaNaykodiMSFT-9638 ·

I understood! So is there any papper about where and how to set those routes?
I have successfully set 2 connections on the VPN gateway the status of both is connected. However I could not find where to manually set the routes.
thanks man, I appreciae your help!

0 Votes 0 ·