I have a peering configured between aws vpc and mongo db atlas which makes me able to reach mongodb atlas via private ip.
i also have a site to site vpn tunnel confugured between azure vnet and aws vpc that allows me to connect to aws from azure via private ip
Lets say below configuration is there for aws , azure and mongo
vpc - 10.186.8.0/22 and vnet - 10.186.32.0/20 mongo - 192.168.248.0/21
Now how can i make packet reach from azure vnet to mongo db atlas via the same tunnel ?
My doubt is when we configure vpn tunnels we provide address spaces over which azure and vnet will communicate ie of 10.186.8.0/22 and 10.186.32.0/20.
Now how can a network packet destined for 192.168.248.0/21 can travel over this tunnel ?
If there is any way to do so please let me know .. thanks
i was expecting the traffic from azure private ip to reach mongodb atlas private vpc via configured tunnel between azure and aws.