NSG in case S2S vnets

APTOS 221 Reputation points
2023-01-06T09:31:06.72+00:00

Hello ,

we are in this situation :

an onpremise offices is connected to vnet A with S2S connection ( vpn gateway A and Local firewall )

and vnet A is conected to vnet B with S2S connection ( we don't need to use peering for our situation , so we create a vpn gateway B and create connection S2S with vpn gateway A )

in onpremise Firewall , i have added the both vnet A and B as network destination when i parameter the vpn
also , in local network gateway B , i have added the both privates networks for vnet A and local network ( onpremise network )

this is the situation :

Onpremise Office <---s2s--->vnetA<---s2s---->vnetB

My question ,

i need user in onpremise office connect to vm in vnet B,how many NSG should create in this case ?

i have already create a rule in local FW to authorize local network to connect to VM in vnet B, and i have created ainbound rule for the VM to authorize all the flow coming from local network

but when i check , i can't connect to this VM

could you help ?

Regards

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,380 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,140 questions
{count} votes