Um serviço do Azure que habilita a conexão de redes locais com o Azure por meio de redes virtuais privadas site a site.
Phase 2 not connecting after adding NAT rules to Connection
I have an Azure Virtual Network Gateway and I used it to set up a S2S IKEv2 connection to an on premises VPN inside my customer network. It was set up nicely and it connects normally. I asked him to allow 172.X.0/XX and 172.16.18.0/26 in his network, he asked me to allow 10.XXXXXX0.0/24,172.3.X.X.X.nd 192X.X.X..0/24. I have a P2S in my VPN configured to 172X.X.X.X0/24 so that my local machine could connect to a postgres on 10.40.0.148 and it worked. Now I was going connect from my App Service that is integrated with a regional VNet(the same as the Virtual Network Gateway) in the Subnet 172.X.X.28/27. For this to work I added a dynamic Egress NAT rule to my VPN that maps 172..X.X.8/27 to 172..X.X./32 since 172X.X.X./32 is inside the previously allowed range of 172.X.X.X./23. However after I associated this NAT rule to my Connection the phase 2 fell down. For the record my Connection does not have policy based traffic selector and the connection mode is ResponderOnly. I started a troubleshooting from the VPN and found out that the Phase 2 fails with error 87 and flags a(The Parameter is incorrect). I don't know why this mismatch is happening since the 172..X.X.0/23 was already allowed. Also when I remove the NAT rules the Connection goes back to working normally. Log attached
Thanks to any who tries to help