Testing VPN service inside azure I finished to setup a connection between my cloud and azure to see azure machines with Site-to-Site connection, but now Im looking how I can config azure VM to use the VPN to send traffic from specific pool Ips.
- My internal pool 10.130.0.0/24
- Azure net 10.0.0.0/24
- VPN 10.0.19.0/24
- GatewaySubnet 10.0.20.0/24
I know for example using Iptables routing but I don't know inside azure how to add VM to the VPN. All examples I found was to connect to Azure, but not in opposite sense. I need to use UDR?
Other checks were:
-VM can't see VPN gateway using ping.I added route to UDR but not seems to have effect.
-Adding a route using Public IP from gateway not connect
-I don't know If traffic needs to go using GatewaySubnet pool or vpn pool.