Skip to main content
Jamf Nation, hosted by Jamf, is the largest Apple IT management community in the world. Dialog with your fellow IT professionals, gain insight about Apple device deployments, share best practices and bounce ideas off each other. Join the conversation.
Posted: by jake
Product: Mac OS X
Downloads: 1198


sudo <mountPoint> <computerName> <currentUsername> <networkInterface> <proxyAddress> <port>

If the $networkInterface parameter is specified (parameter 4), this is the Netowrk Interface for
which the search domains will be set. The expected values for the $networkInterface parameter can
be found by running the command:

networksetup -listallnetworkservices

If the $proxyAddress parameter is specified (parameter 5), this is the proxy address that will
be set.

If the $port parameter is specified (parameter 6), this is the port to which the proxy traffic
be passed.

If no parameters are specified for parameters 4, 5 or 6, the hardcoded value in the script will be used.


This script will configure the web proxy on the specified network interface.


Generating Preview...