Skip to main content
Question

Adding a executable to a firewall Configuration Profile

  • September 23, 2022
  • 1 reply
  • 2 views

burdett
Forum|alt.badge.img+7
  • Valued Contributor
  • 72 replies

I have an installer that will prompt the user to accept incoming network connections.

However they don't have administrative rights.  Allowing this will add this to the application firewall but I can't figure out how to do this (automate) with JAMF.

I tried to add this to my firewall configuration profile however this is a executable and I don't think it has bundle ID.  I tried this command and it came up null. 

 

osascript -e 'id of app "/usr/local/bmc-software/client-management/client/bin/mtxagent"'

 

I tried to add this to the application firewall from the this command line

 

sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/local/bmc-software/client-management/client/bin/mtxagent

 

 But this command gives me reply,  "Firewall settings cannot be modified from command line on managed Mac computers"

I'm stuck, any ideas?

 

1 reply

burdett
Forum|alt.badge.img+7
  • Author
  • Valued Contributor
  • 72 replies
  • October 7, 2022

Anyone have an ideal how I can add an executable file (no bundle ID) to a firewall Configuration Profile?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings