Azure VM Agent support for Forced Tunneling / User Defined Routes
To meet legal requirements, like many, we employ "forced tunneling", to push traffic through our proxy server. Many of your services, including agents are "Proxy Unaware" (like your developers!)
One possible way to overcome this, is to add a UDR to the special VM Agent IP of 18.104.22.168, however, when I try to create a route of 22.214.171.124/32, I get the below error, essentially saying it is in a restricted address space.
Please remove this restriction, post hast.
This is an incredibly quick and easy way to overcome your lack of proxy support with the VM agent.
Full error message:
Failed to add route 'DirectRouteToVMAgent' to route table 'UDR-TABLE-001'. Error: AddressPrefix 126.96.36.199/32 for route DirectRouteToVMAgent is not allowed because its in restricted address space.