'Can't reach Vnet using VPN gateway while peering is on
Hello , I have 2 Vnets, a Vnet containing Vms (Private Vnet) a Vnet containing an Aks Cluster (Private but the pod I want to use is public (exposed using LB)) to Connect to Vnet1 from my local I'm using a Vpn Gateway but when I added I Network peering betweeen Vnet1 & Vnet2 , Suddenly I can't reach my private vms even when im connected to the vpn although the peering between Vnet1 & vnet2 Is working just fine I can reach my private vms from aks pods here is my vnets/subnets
GatewaySubnet 172.17.1.0/24
default 172.17.0.0/24
my vpn config :
- point to site
- Address pool 10.0.0.0/16
- Tunnel type IKEv2 and OpenVPN(SSL)
- Active-active mode : disabled
- Gateway Private IPs : disabled
- VPN type : Route Based
and here is my peering configuration :
I don't know what is causing this I hope somebody can guide me to the right direction
Solution 1:[1]
the "aks" vnet has an address space of "10.0.0.0/8" that overlaps with the VPN's Point to Site VPN client address pool. Changing the adress pool of your p2s config will solve your problem
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ossama assaghir |



