Share via

Cloud Service VM connect to onprem SQL server

Rytis Mieldazys 6 Reputation points
2020-08-07T17:59:09.757+00:00

Is there a way to setup site to site tunnel from Azure Cloud Service network to on-prem?
I have the Site to site tunnel setup to our Azure vnet and on-prem and that works fine.
The problem is that our Cloud Service network is outside the Azure vnet range and I'm not sure if there is a way to connect Cloud Service VM (Web) to our on-prem SQL server.

Any help would be appreciated, thank you.

Azure Cloud Services
Azure Cloud Services

An Azure platform as a service offer that is used to deploy web and cloud applications.


3 answers

Sort by: Most helpful
  1. Moamen Hany 1,091 Reputation points MVP
    2020-08-08T13:35:55.057+00:00

    Sure you can you have to use Virtual Network Gateway and build VPN Site-to-Site with your on-perm firewall
    Check below URL
    https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-site-to-site-resource-manager-portal

    Please do not forget to "Accept the answer" and Upvote on the post that helps you, this can be beneficial to other community members.
    http://www.moamenhany.com

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments

  2. Rytis Mieldazys 6 Reputation points
    2020-08-10T19:42:36.537+00:00

    I figured it out. Cloud Services uses Classic Vnet and I found the documentation how to setup S2S tunnel with classic virtual networks.

    Was this answer helpful?

    1 person found this answer helpful.

  3. Rytis Mieldazys 6 Reputation points
    2020-08-10T13:52:31.397+00:00

    My site-to-site tunnel from on-prem to Azure Vnet (IaaS) was already setup and running fine.
    The problem is that my Web VM was setup under "Cloud Service" (PaaS) and it is completely out of our Vnet range. I believe that's why I can't access it from on-prem network.
    I'm I missing a step where I would need to allow vpn traffic to 'Cloud Service' network or Web Server? Since it's under Cloud Service I don't have a lot of control over it.

    Was this answer helpful?

    0 comments No comments

Your answer

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