Skip to main content

macOS

Use these steps to confirm the Cerbera agent is running on a Mac, pull its logs, and restart it. For problems that look the same on every OS, see Common Issues. All commands are also on the Cheat Sheet.

Check Status​

sudo launchctl list | grep tech.bastion.aiproxy

A line starting with a PID (not -) means the agent is active.

Get the Logs​

The agent and the menu bar app each write to their own file:

ComponentLog file
Proxy agent/var/log/tech.bastion.aiproxy.log
Menu bar app/var/log/tech.bastion.aiproxy.toolbar.log
tail -f /var/log/tech.bastion.aiproxy.log /var/log/tech.bastion.aiproxy.toolbar.log

Or open Console.app and search for tech.bastion.aiproxy.

Restart the Agent​

sudo launchctl kickstart -k system/tech.bastion.aiproxy

Network Extension Not Approved​

macOS prompts the user to approve the Cerbera network extension on first launch. Until it is approved, the agent cannot intercept traffic. Approve it, or pre-approve it via an MDM configuration profile so users never see the prompt.