Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

When I'm on the move I want to tether to my phone to access a few essentials (telnet, ssh, IM, a few low bandwidth websites). What I don't want is for a load of background processes like Software Update or Google Software Updater to start downloading gigs of patches over the phone's 3G connection.

Is there a way to set up a temporary white list of hosts to which my machine can connect and deny access to anything else? NOTE: This must be temporary only, I obviously want full internet access when connected via a wifi/wired connection.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

Little Snitch could help you out here. It's very configurable outbound firewall for Macs. The rule set it supports is comprehensive and you can block based on interface as well as IP ranges. You could set it up with everything blocked, tether, let through just the apps you want, and then enable/disable Little Snitch with this ruleset based on how you're using your Mac at any particular point in time.

share|improve this answer
add comment

I'm not sure how you could whitelist certain hosts, but you could quickly blacklists host by adding the Software Update domainnames to point back to your localhost. You can do this by editing /etc/hosts or by using a tool like ghost.

ghost add gs.apple.com
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.