Forum Discussion
macmacadm
Oct 23, 2024Copper Contributor
macOS network extension / content filter
Hey, got a mystery to solve. We're using Intune and Defender as our MDM/antivirus setup in the company. Defender is deployed via Intune with custom plist files like in the docs: https://le...
macmacadm
Oct 29, 2024Copper Contributor
The only thing I've found is to push it with filter, but turn it off later with a script.
#!/bin/bash
#set -x
sudo mdatp system-extension network-filter disable
You can check it's installed, but disabled with:
mdatp health --details system_extensions.
However the script works locally, I can't make it work when pushed via Intune, it succeeds, but not making any changes to network filter for some reason.
LasseNilsson1
Oct 29, 2024Copper Contributor
I tried that too, and it works, but then the Popup comes right a way asking the user for Allow or not
- macmacadmOct 29, 2024Copper ContributorIf you have netfilter mobileconfig pushed via Intune it won't ask the user for anything and for me it disables netfilter completely after the script.
- LasseNilsson1Oct 29, 2024Copper ContributorWierd, I guess I have to test again