|
|
Toggle a proxy server on and off via scripts
Maybe I'm missing something here, wouldn't it be easier just to have two network locations, one with the proxy set, the other without, and switch between the two? You can then also set keyboard shortcuts for each using QuickSilver and the like.
Toggle a proxy server on and off via scripts
Seems to me like this would work just fine, as well. I also did not think to explore this option. The reason I have it set up this way is to quickly change my proxy setup to download a file or two and then quickly switch it back.
Switching network locations could have one issue that might be problematic if the system insists on disconnecting and reconnecting to networks or renewing a DHCP lease (I'm not sure if this is the case. Other reasons networksetup might be a good option:
Toggle a proxy server on and off via scripts
The other days I stayed at a hotel with wireless, and I wanted to use a SOCKS proxy (ssh) for accessing machines inside my company network and also for security: the hotel does not need to know what I am looking at. I have two locations set up with and without proxy. I needed a no-proxy location to enter the password for the wireless access, but when thereafter switching to the proxy location, Airport disconnected and reconnected, and the hotel's system required me to enter my password again, but for doing that I needed the no-proxy location. Argh! So the only way was going into System Preferences and toggle the proxy on/off. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.21 seconds |
|