AZURE SQL Server - Access trough the Azure Firewall

Philipp Gerber 251 Reputation points
2022-12-05T14:39:43.35+00:00

Hello Community,

i have a Question about an Azure SQL Server and the Azure Firewall.

I have configured the Azure SQL Server with Private Endpoints. The Network Hub and Spoke are with peerings connected.
The Private DNS Zone is linked to both Virtual Networks.
The Public Access is disabled on the Azure SQL Server.

No i would like to Use Azure Firewall Rules to Connect from External (WWW) trough the Azure Firewall the Azure SQL Server with Management Studio.

I can find nothing to this Scenario.

I have to tried it with "DNAT / Application NAT / Network Nut" but nothing works.

is it even possible to reach the SQL Database over the Public through the Firewall when the public Access is disabled on the SQL Database?

Thanks a lot.

Regards,
Phil

Azure SQL Database
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
566 questions
0 comments No comments
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 35,001 Reputation points Microsoft Employee
    2022-12-06T06:23:46.117+00:00

    Hi @Philipp Gerber ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you would like to access the SQL Database's Private EndPoint via Azure Firewall.

    I am not sure if this is a recommended architecture or a best practice, but with DNAT, you should be able to reach any VM/Private EndPoint in the VNet (or Spoke VNet).

    • Can you access the SQL server via Private EndPoint from VMs in the same Vnet via SSMS?
    • Can you access the SQL server via Private EndPoint from VMs in the Azure Firewall Vnet via SSMS?
    • Can you share a screenshot of how you have configured the DNAT rule from Azure Firewall?

    Also, from your local machine, you should map the FQDN of SQL server ( XXX.database.windows.net ) to the Public IP of the Firewall
    You can edit the Host file entry in your local machine to achieve this.

    Cheers,
    Kapil

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful