Forum Discussion

WilliamBonomo's avatar
WilliamBonomo
Brass Contributor
Sep 09, 2022

S2S VPN to SQL MI

Hi Guys,

 

We have a Site-to-site VPN from our office to Azure using IPsec on our Fortigate firewall. The VPN set up is up and running fine for all resources except for SQL MIs.

The Local Network Gateway and Virtual Network Gateway sit on VNET A and the SQL MI on VNET B, with the due peerings set up I can access resources like storage accounts on VNET B but it doesn't work for SQL MI.

Is it a limitation on Fortigate when trying to resolve the SQL MI instance example.vnet.database.windows.net to the correct subnet?

If I try nslookup or ping I can only see the broadcast address not the instance private IP.

 

Worth to mention that we are using OpenVPN for P2S when working from home and it works fine when connecting to SQL MI.

 

Thank you in advance.

  • Thanks, Tommy. I have it working already.

    So I have created a new subnet to serve the private endpoints and added the due inbound/outbound to the security groups then had to add the instance to the Windows hostfile as DNS still doesn't resolve to the private endpoint but this isn't a big deal.

Resources