How to ignore warning for program that connects to VPN

I have to click accept/allow on this dialog everytime I launch a process that goes out to the web via the VPN..is there some env var I can set which can ignore the warning?

enter image description here


Solution 1:

The dialog box tells you how to solve the problem.

Security Dialog

This setting can be changed in the firewall pane of the Security & Privacy Settings

There are excellent guides provided by Apple that can walk you through the process

  • Change Firewall preferences on Mac
  • Use a firewall to prevent unwanted connections on Mac

But basically, what you're going to do is add your application, cm_api to your firewall and allow it incoming and outgoing connections. Remember, you must be an admin to make this change.