WVD and Azure Firewall Premium – Web content filtering

WVD and Azure Firewall Premium – Web content filtering

Azure Firewall Premium is in preview and is full of new features! Check this article to learn more.

I am very interested in understanding the web content filtering capability because, as you probably know, a Windows Virtual Desktop virtual machine is able to surf the web with no restrictions unless you control it in some way.

Can I use Network security groups in order to rule the traffic? Yes, they are helpful but they are not supporting categories like adult content and so on.

On Premise Proxy server? Please no! We need something in the cloud…

Third party web content filtering services that I can deploy in Azure? Yes, this is a good solution.

Another possibility is (as I wrote in this article) Microsoft Defender for Endpoint but now we have also Azure Firewall Premium so let’s try it!

Note: this is only my first look to this new service and I am touching only the web content filtering part just to share how simple is to try it in a small lab environment.

First of all I created a Subnet called AzureFirewallSubnet with a /26 address space inside my existing WVD Virtual Network (this is a requirement)

No alt text provided for this image

I created the Firewall in the same region of the VNet and I selected the SKU Premium.

Don’t forget to create a new firewall policy clicking on Add-new

No alt text provided for this image

I selected my WVD VNET and I created a new public ip address for my firewall

No alt text provided for this image

I selected Create and I waited a couple of minutes.

I copied the internal IP Address assigned to the Firewall

No alt text provided for this image

I searched for Route tables in the Azure portal and I clicked on Create

No alt text provided for this image

Here are my choices

No alt text provided for this image

I clicked on Routes and Add

No alt text provided for this image

These are my entries, please note that I added the firewall IP as the next hop address.

No alt text provided for this image

In Subnets I clicked on Associate and I selected my WVD Virtual Network and my VM Subnet so all the traffic coming from the pooled VMs is going to be routed into the Firewall.

No alt text provided for this image

Now back to Firewalls I clicked on my new firewall name, Firewall Manager, Azure Firewall Manager

No alt text provided for this image

Azure Firewall Policies and WE-WVD-Firewall

No alt text provided for this image

Application Rules, Add a Rule Collection

No alt text provided for this image

I added the Application Rules written in this article

No alt text provided for this image

I created rules for DNS and KMS in the Network Rules according to this article

No alt text provided for this image

I am now able to connect to my session host but I cannot surf the web…

No alt text provided for this image

So I added a very “large” Application rule to let be possible to browse all the web (not a best practice but just to show you the last step).

Basically I allowed source "*" to destination "*" just to have everything (very) wide open but as I said, this is a first lab experience...

No alt text provided for this image

Now I can browse all the websites that I need but my will is to restrict the access to Twitter, Facebook and other social media using the Firewall web content filtering capability.

No alt text provided for this image

So I created another Application rule collection for deny and a rule that is targeting the social networking category. The priority of this rule must be higher than the rule that is allowing to browse all the web. (priority 100 is higher than priority 1000).

"Rule collections are processed according to the rule type in priority order, lower numbers to higher numbers from 100 to 65,000" Article.

No alt text provided for this image

And the result is that twitter is not anymore reachable.

No alt text provided for this image


These are the categories available:

-         Alcohol + tobacco

-         Child abuse images

-         Child inappropriate

-         Criminal activity

-         Dating + personals

-         Gambling

-         Hacking

-         Hate + intolerance

-         Illegal drug

-         Illegal software

-         Lingerie + swimsuits

-         Marijuana

-         Nudity

-         Pornography/sexually explicit

-         School cheating

-         Self-harm

-         Sex education

-         Tasteless

-         Violence

-         Weapons

-         Image sharing

-         Peer-to-peer

-         Streaming media + downloads

-         Download sites

-         Entertainment

-         Business

-         Computers + technology

-         Education

-         Finance

-         Forums + newsgroups

-         Government

-         Health + medicine

-         Information security

-         Job search

-         News

-         Non-profits + NGOs

-         Personal sites

-         Private IP addresses

-         Professional networking

-         Search engines + portals

-         Translators

-         File repository

-         Web-based email

-         Advertisements + pop-ups

-         Chat

-         Cults

-         Games

-         Instant messaging

-         Shopping

-         Social Networking

-         Arts

-         Fashion + beauty

-         General

-         Greeting cards

-         Leisure + recreation

-         Nature + conservation

-         Politics

-         Real estate

-         Religion

-         Restaurants + dining

-         Sports

-         Transportation

-         Travel

-         Uncategorized


Ok goal reached! At least for my small lab… I hope this article is going to help you to understand a feature of this new Azure service that could be helpful for Windows Virtual Desktop.

Hi Marco, Is it possible to assign the policy for specific user? for example user A cannot access twitter, while user B can. Great post!

回复
Narender Singh (Maan)

Lifetime Learner | Cloud Solutions Architect | Azure/IBM/GCP | IBM Champion 2024-2025 | TOGAF 9, PowerVS on IBM Cloud, AzCAF, AzWAF, Hybrid Cloud (Azure Arc/Stack/IBM Cloud Satellite), AVD, AIX, MPEiX, Isilon

4 年

Marco Moioli indeed an interesting article to go

回复
Dennis Schoone

Founder @CloudMatters | Enterprise Cloud Architect | Amateur Brewer | Speaker | Cloud Enthusiast | Microsoft Certified Trainer | Founder of the Microsoft Cloud & AI Netherlands Meetup

4 年

Love this, now the wait is on GA....

回复
Nirnoy Sinha Chaudhuri

Head Infrastructure & Cloud Platform Services (COE) at NUSUMMIT Technologies Private Limited (Former NSEIT LIMITED)

4 年

Amazing inputs, very well put together and articulated.

Eric Y.

Cloud Solutions Architect | Azure Architect | ANZ & APAC

4 年

Nice work, Marco! Thank you for sharing this!

要查看或添加评论,请登录

Marco Moioli的更多文章

  • Going password-less with Azure and Fetian security keys

    Going password-less with Azure and Fetian security keys

    As we all know, passwords are difficult to remember, we need different passwords and identity for our daily job and for…

    3 条评论
  • Windows Virtual Desktop and 10zig

    Windows Virtual Desktop and 10zig

    Windows Virtual Desktop is an Azure service that allows users to consume Windows resources from any place and on any…

    13 条评论
  • Azure Defender for Storage

    Azure Defender for Storage

    Microsoft is a security company… No doubt about that. Its security proposition is very comprehensive: from Identity and…

    1 条评论
  • Windows Virtual Desktop and Windows Defender Credential Guard

    Windows Virtual Desktop and Windows Defender Credential Guard

    Update: Now this feature is fully supported using Generation 2 Virtual Machines Original Article: NOTE: this is…

    2 条评论
  • What is Modern Management?

    What is Modern Management?

    Microsoft has a long history in the management workspace. System Center Configuration Manager (short name ConfigMgr or…

    2 条评论
  • Year 2020 Wrap Up

    Year 2020 Wrap Up

    This strange 2020 is ending, last day at work before taking some rest so it's time to make a little wrap up: Well as…

    4 条评论
  • Windows Virtual Desktop + Nexthink

    Windows Virtual Desktop + Nexthink

    Are you willing to move your VDI solution in Windows Virtual Desktop with confidence? Do you like to stay in control of…

    1 条评论
  • Windows Virtual Desktop + Liquit

    Windows Virtual Desktop + Liquit

    I spent 15+ years in Microsoft and most of my career was dedicated to operating system management. So I’m quite expert…

    2 条评论
  • Windows Virtual Desktop + MDATP Web content filtering

    Windows Virtual Desktop + MDATP Web content filtering

    Windows Virtual Desktop is a very good solution if you need to publish applications or virtual desktops to your users…

    5 条评论
  • Windows Virtual Desktop and Igel Thin Clients

    Windows Virtual Desktop and Igel Thin Clients

    Windows Virtual Desktop is a platform that is allowing many different partners to create added value solutions. This…

    7 条评论

社区洞察

其他会员也浏览了