Posted on 03-04-2021 04:41 AM
Anyone have a script to turn off end user firewall settings so we can VNC into laptop for assistance?
Thanks
Posted on 03-04-2021 05:10 AM
The following command will turn off the firewall:
/usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
Posted on 03-04-2021 05:31 AM
@skeenan07 something like this?
Posted on 03-04-2021 05:35 AM
@EliasG Yep. You could add this command as well to unblock all incoming connections, but I don't think it would be necessary if you're completely turning off the firewall.
/usr/libexec/ApplicationFirewall/socketfilterfw --setblockall off