Forum Discussion
Hassan_Netops
Jun 25, 2023Copper Contributor
Routing Vnet B Resources through Vnet A Gateway for On-prem Network Communication
Hi, I would like to ask if it is possible to establish connectivity between Vnet B resources and the on-prem network by routing them through the Vnet A gateway. Both Vnet A and Vnet B exist, and Vn...
- Jul 06, 2023As mentioned by Anas you can do this and it is called transitive routing through the VNET where you have the VNG deployed. When you check the use remote vnet gateway in the peering then routes learned on that VNG will be propagated to the peered networks by default.
In case you have a filtering device like azure firewall or a third party firewall then you need to disable that option and configured UDRs manually pointing to the firewall or NVA IP address.
In the peering ensure this options is checked too:
Traffic forwarded from remote virtual network : Allow
Thanks.
anas86
Jul 02, 2023Copper Contributor
This is doable. You need to peer VNET B with VNET A and use the option "Use remote gateway" on your peering settings and you should be able to reach on-prem.