Connecting to resources available in vnet of another tenant

Dilkush Patel 22 Reputation points
2020-11-13T12:52:12.57+00:00

This is the setup currently
vnet1 in subscription 1
vnet2 in subscription 2

vpn-gateway-1 is linked to vnet1

vnet1 & vnet2 are linked to each other using vnet to vnet connection

using vpn-gateway-1 i can connect to resources of vnet1 however I cannot connect to resources of vnet-2

Is it possible to achieve this?

Reason:
I have reports which uses SQL Azure from both this subscriptions and I do not want to expose either of SQL Server to public internet.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,678 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,442 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Cristian SPIRIDON 4,481 Reputation points
    2020-11-13T18:58:51.973+00:00

    You should add a route table and add a route to vnet2 through vpn-gateway-1.
    And add any routes you might need to access external networks from vnet2 via vpn-gateway-1.

    Hope this helps.

    0 comments No comments

  2. suvasara-MSFT 10,071 Reputation points
    2020-11-14T17:15:27.223+00:00

    @Anonymous , P2S configuration with global VNET peering is possible in Azure. To achieve this, you need to peer the VNETs before the VPN client/profile is downloaded otherwise the profile will not have routes to the peered vnets.

    Here is a doc for quick reference.

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.