How to configure firewall exceptions for Google Chrome
Last updated July 26th, 2023
Categories:
Environment
- Knox Manage
- Android Enterprise
- Samsung device
- Google Chrome browser
Overview
When configuring the Firewall policy in Knox Manage, you may want to block or allow specific sites in a browser. For Google Chrome, additional configuration is needed, because the Google Chrome browser uses a DNS resolution method which overrides the addDomainFilterRules method in the Knox firewall package.
To block or allow specific sites on Chrome, the DNS resolution method needs to be prohibited or else the Firewall policy won’t take effect for the browser.
How to configure the firewall policy for Chrome
First, block the DNS resolution method:
-
On the Knox Manage console, go to Profile.
-
Create a new profile or modify an existing profile.
-
Expand the Samsung Knox > Firewall policy drawer and set Firewall to Enable.
-
Add the following rule to the Prohibited Policy (IP) policy:
- Package Name — com.android.chrome
- IP Address (range) — *
- Port (range) — 53
- Port Range — All
- Network Type — All
-
Click + to add the rule.
Then, to configure the Firewall policy to allow specific sites on Chrome, block every site on every browser and allow specific sites on one browser only:
-
For the Permitted policy (Domain) policy, as needed, add a rule for each domain you want to allow:
- Set Package Name to com.android.chrome.
- Enter a domain in Domain address (range). You can include all subdomains by formatting the entry as *.domain. For example, to allow the main Google domain and all its subdomains, enter *.google.com.
- Click + to add the rule.
-
For the Prohibited policy (Domain) policy, block all other domains:
- Set Package Name to com.android.chrome.
- Set Domain address (range) to *.
- Click + to add the rule.
-
Click Save & Assign to save your changes and assign the profile to your device group.
On this page
Is this page helpful?