Jamf School - macOS Configuration Guide
The following contains procedures for deploying Blocksi URL Filtering OSX using Jamf School. The solution consists of two components:
Proxy - A system-level service that intercepts and filters web traffic.
Agent - A menu bar application that communicates with Blocksi servers to enforce filtering policies.
Prerequisites
Ensure the following prerequisites are in place before proceeding with deployment:
Administrator access to Jamf School.
Your Blocksi Super-Admin account email address.
Devices are enrolled in Jamf School and their local account name matches the part of their Blocksi licensed email address before the @ - for example, for
student123@blocksi.netthe local account name isstudent123.Download the following files provided by Blocksi:
Blocksi_Filter.pkg- Installer that installs the proxy and agent.Blocksi_Settings.mobileconfigBlocksi_Proxy.mobileconfigblocksi_uninstall.sh- (Optional) Uninstaller script for the Blocksi Filter agent. Click here to download.
Downloads
Download the Blocksi Filter agent and configuration files from the Admin Dashboard.
Click on your profile icon in the top right of the dashboard.
Click Downloads.
Select the Apple tab and download the appropriate package for your MDM.
Warning
After completing each step, wait a few minutes for the configuration to be pushed to the target devices before proceeding to the next step.
Note
If you are currently using the Blocksi For OSX filtering solution for macOS, remove all DNS proxy configuration profiles and filtering agent deployment assignments from your MDM before proceeding. Refer to the final section of this guide for more details.
Download the provided
Blocksi_Settings.mobileconfigfile.Open the downloaded
.mobileconfigfile using any text or code editor.Search for the
organizationIdkey and replaceadmin@blocksi.netwith your Blocksi Super Admin account (CompanyId) within the<string></string>fields.The
bundle_idkey is used to configure which apps are filtered by the Blocksi agent. The provided .mobileconfigfile is configured to filter the most commonly used web browsers: Chrome, Safari, Edge, Brave, Firefox, and Opera. You can filter additional apps by adding<string>package_name</string>lines to the file.
Click the
.mobileconfigfilename in the top bar, select File, then click Save.
In Jamf School, navigate to Profiles > Overview.
Click Create Profile.

Select Upload custom profile.
Select
Blocksi_Settings.mobileconfigand click Next.Type Blocksi Filter - Settings in the Profile name field.
Click Finish.
Under the Groups tab, select the device groups you want to deploy to, and click Save.
In Jamf School, navigate to Apps > Inventory.
Click + Add App.

Select Add In-House macOS Package.
Select
Blocksi_Filter.pkgand click Confirm.Click Next.
Select device groups that you want to deploy the application to.
Click Save.
In Jamf School, navigate to Profiles > Overview.
Click Create Profile.
Select Upload custom profile.
Select
Blocksi_Proxy.mobileconfigand click Next.Type Blocksi Filter - Proxy in the Profile name field.
Click Finish.
Under the Groups tab, select the device groups you want to deploy to, and click Save.
To validate the deployment, verify that the profiles, services, and filtering agent are installed on the target device correctly.
Open Terminal on the target Mac and run the following command:
launchctl list | grep blocksi
The output should include com.blocksi.proxy.
Open Terminal on the target Mac and run the following command:
systemextensionsctl list
The output should include FNVRG3YPHU com.blocksi.filter.proxy (1.0/1) com.blocksi.filter.proxy [activated enabled].
Navigate to System Settings.
Click Network in the sidebar, then click Filters.
The Blocksi Filter should show with a status of Enabled.

After login, verify that the Blocksi Filter icon appears in the menu bar.
Click the icon. The status should show Connected.

Log in to the Mac device with a licensed user that has a policy assigned.
Navigate to some sites that should be blocked by your policy.
Verify that the Blocksi Access Denied page appears:

On the Blocksi Admin Dashboard, navigate to Insights from the Main Menu, click Web Analytics from its sub-menu, then switch to Logs.
Verify that the browsing activity from the device appears in the logs.
Refer to Uninstalling Blocksi Filter to uninstall the Blocksi Filter (full URL filtering) solution. If you are migrating from Blocksi for OSX (legacy DNS filtering) to Blocksi Filter (full URL filtering), refer to Migrating from Blocksi For OSX to Blocksi Filter before proceeding with deploying Blocksi Filter.
Important
Unassign the Blocksi application package deployment and Blocksi configuration profiles from the target devices before proceeding with deploying the uninstall script.
In Jamf School, navigate to Scripts in the sidebar and click + Add Script.
Enter Blocksi Uninstall in the Name field.
Paste the contents of the downloaded
blocksi_uninstall.shfile under Content. The script is available for download here.Set the execution frequency to run the script Just once under When to run.
Click Save.
Under the Scope tab, select the device groups to remove Blocksi from, and click Save.

In order to migrate to the Blocksi Filter (full URL filtering) solution, Blocksi For OSX (legacy DNS filtering) needs to be uninstalled first.
In Jamf School, navigate to Scripts in the sidebar and click + Add Script.
Enter Blocksi Uninstall in the Name field.
Paste the contents of the script below under Content.
#!/bin/bash launchctl unload /Library/LaunchAgents/com.blocksi.filtering.agent.plist sudo killall 'Blocksi for OSX' sudo killall BlocksiXPCservice sudo rm -f ~/Library/Preferences/com.blocksi.filtering.agent.plist sudo rm -rf /Applications/Blocksi\ for\ OSX.app
Set the execution frequency to run the script Just once under When to run.
Click Save.
Under the Scope tab, select the device groups to remove Blocksi from, and click Save.
