question

AnthonyTSANG-7075 avatar image
0 Votes"
AnthonyTSANG-7075 asked AndreasBaumgarten answered

How to setup S2S VPN to login VMs in 2 different Azure Resource Groups, but each in individual Subnet having same private IP range?

I have 2 existing Azure Resource Groups. The existing Subnets in the 2 Resource Groups have the same private IP range. The IIS VMs in the 2 Resource Group are also having the same private IP but with different public IPs as websites. They work fine. But I need to setup S2S VPN to login both VMs via RDP. I can successfully login the VM in 1 Resource Group already. But the VM in the 2nd Resource Group is also having the same private IP. How to connect the VPN to that VM without changing its private IP?

azure-virtual-networkazure-vpn-gateway
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

AndreasBaumgarten avatar image
0 Votes"
AndreasBaumgarten answered

Hi @AnthonyTSANG-7075 ,

please take a look here: https://docs.microsoft.com/en-us/azure/vpn-gateway/nat-howto
NAT on Azure VPN Gateways (still in preview) should be the solution for your requirement.


(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

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.