Thank you for getting back and sharing the additional details above.
can you confirm if nat will work on connection 3 which will have private bgp ip at onprem and on azure vpn gateway. Since i want to do NAT only on connection 3,will NAT work on connection 3?
The answer is Yes. As you are using a non-APIPA IP address to establish BGP peering, I think you should able to use NAT for the connection 3.
If it helps just adding few points below for support/consideration for your scenario here
- NAT is applied to the connections with NAT rules. If a connection doesn't have a NAT rule, NAT won't take effect on that connection. On the same VPN gateway, you can have some connections with NAT, and other connections without NAT working together. This is documented here
- NAT is supported on the following VPN SKU VpnGw2~5 and VpnGw2AZ~5AZ.
- Before you establish connection 3, you must create and save NAT rules on the VPN gateway. More information on the implementation can be found here.
Hope this helps! Please let me know if you have any additional questions. Thank you!
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.