Forum Discussion
aniliri
Feb 10, 2025Copper Contributor
Unable to connect Azure Desktop
Yesterday I installed OPENVPN and configured it to run without user interruption, after restarting the machine unable to connect azure desktop. Under the host pool all health showing good except. Ur...
balasubramanim
Feb 12, 2025Iron Contributor
Try these steps connecting to Azure Desktop
- Check OpenVPN Config
Ensure no forced gateway redirects or DNS changes blocking AVD. - Bypass AVD URLs from VPN
Run in Command Prompt (Admin)
route add 20.190.128.0 mask 255.255.240.0 <your-gateway> -p
route add 40.126.0.0 mask 255.255.248.0 <your-gateway> -p - Allow AVD in Firewall
Run in PowerShell (Admin)
New-NetFirewallRule -DisplayName "Allow AVD" -Direction Outbound -Action Allow -RemoteAddress 20.190.128.0/20, 40.126.0.0/21 -Protocol Any - Disable VPN & Test AVD
Disconnect OpenVPN, restart, and check if AVD works. - Enable Split Tunneling in OpenVPN
Add these lines to .ovpn config
route-nopull
route 20.190.128.0 255.255.240.0 net_gateway
route 40.126.0.0 255.255.248.0 net_gateway
Restart OpenVPN. - Restart AVD Services
Run in PowerShell (Admin)
Get-Service RDAgentBootLoader, RDAgent | Restart-Service