MacOS, Firewall, Services – Disable Apple Push Notification Service (apsd) to Avoid Firewall Bypassing

apnsfirewallmacosnotificationsservices

I am using an iMac at work, and the IT security guys are raising issue with the Apple Push Notification Service (apsd) trying to bypass the proxy continually.

I would like to know how I can disable apsd from running.

Best Answer

I figured out that I needed to enter the following in the terminal:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist

I did this already, and it seemed to fix the issue, but would love to know if this is the advisable way to solve the problem.

========================================================

Also, in case you want to enable the process afterwards, you can use this:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.apsd.plist

sources:

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/launchctl.1.html

http://www.cyberciti.biz/faq/disabling-unnecessary-mac-osx-services/