Skip to main content
Question

Set Proxy from JSS

  • January 24, 2013
  • 7 replies
  • 23 views

Forum|alt.badge.img+12

Is there a way to set Automatic Proxy on my clients? Configuration with specific values from JSS?

7 replies

Forum|alt.badge.img+26
  • Valued Contributor
  • January 24, 2013

So I probably don't have the exact answer you are looking for as honestly I don't have too long to go digging around with Workgroup Manager, BUT, I may have some food for thought for you. Have you considered using the 'networksetup' command? Launch Terminal and type 'man networksetup' and you'll see it's syntax. It offers rich abilities to set proxies as a one time deal on the client. If you want to go the MCX or profiles route, that is fine too, but I don't seem to see proxies for Ethernet as a template or as a profile option.


Forum|alt.badge.img+5
  • New Contributor
  • January 24, 2013

We use networksetup in a shell script. Works great.

We tried Configuration Profiles, but as Brian mentioned, nothing for Ethernet. Even with Wi-Fi, we found its actually modifying the setting to be sporadic.


Forum|alt.badge.img+8
  • Contributor
  • January 24, 2013

We are using a script to push out these settings. This is what we have setup. We use AutoProxyDiscovery. This is for Wi-Fi and then we have one for the ethernet. Works great.

#!/bin/bash

networksetup -setproxyautodiscovery Wi-Fi on


bentoms
Forum|alt.badge.img+35
  • Hall of Fame
  • January 24, 2013

Forum|alt.badge.img+12
  • Author
  • Contributor
  • January 25, 2013

Thanks guys. I had also found a script using networksetup. I Think JAMF should consider this option in Configuration Profiles.


Forum|alt.badge.img+7
  • Contributor
  • February 15, 2017

the link http://macmule.com/2011/09/09/how-to-change-the-automatic-proxy-configuration-url-in-system-preferences-via-a-script/

is not accessible anymore


Forum|alt.badge.img+1
  • New Contributor
  • May 30, 2017
the link http://macmule.com/2011/09/09/how-to-change-the-automatic-proxy-configuration-url-in-system-preferences-via-a-script/ is not accessible anymore

Here is the working link:
https://macmule.com/2014/12/07/how-to-change-the-automatic-proxy-configuration-url-in-system-preferences-via-a-script/