Forum Discussion
jj78473
Jul 29, 2021Copper Contributor
Internet IPs for Windows Virtual Desktop
I have a need to lock down Internet based firewalls to specific IP ranges for access from Windows Virtual Desktops. I need to know the IP addresses or ranges that WVD uses on the Internet. Do...
JasonMasten
Microsoft
Jul 30, 2021Rather than managing IP addresses, it would be easier to put the AVD service tag on your route table to let that traffic to go direct and force all your other traffic to the firewall (force tunneling):
Get-AzRouteTable -ResourceGroupName <ResourceGroupName> -Name <RouteTableName> | Add-AzRouteConfig -Name "AVD" -AddressPrefix "WindowsVirtualDesktop" -NextHopType "Internet" | Set-AzRouteTable
Get-AzRouteTable -ResourceGroupName <ResourceGroupName> -Name <RouteTableName> | Add-AzRouteConfig -Name "AVD" -AddressPrefix "WindowsVirtualDesktop" -NextHopType "Internet" | Set-AzRouteTable