This method works for Mac OS X Lion, so pretty much it will work on previous versions of Mac like Mac OS X.
First you will need direct physical access on the Mac.
1. Create an Admin Account
a. Turn off the Mac.
b. Power it on, and then hold CMD+S, until your Mac boot in verbose mode.
c. Upon presented by a terminal prompt, enter the commands below:
/sbin/moun -uw /
You’ll then be presented to enter an administrator account.
The trick above mounts the filesystem, and deletes a file called .applesetupdone. Deleting that file and rebooting will make your Mac think that it is brand new and haven’t gone through its initial setup.
2. Bypass Network Web Filter
After creating an administrator account, we will need to bypass your networks web filter. Below are the steps you can use:
By Changing DNS Servers (Level: Easy)
A lot of offices and schools just use OpenDNS to block some websites, and if your office or school is using it then bypassing it is just pretty easy.
a. Open System Preference, and select Network.
b. Click on the Advanced tab, then go over to the DNS.
c. Remove anything in there, and then press the plus button twice, and put it 184.108.40.206 and 220.127.116.11.
d. Close, and click on Apply.
The trick above switches your current DNS server to use Google’s Public DNS server. You can try it by surfing on a blocked site. If the site is unblocked, then definitely it worked!
By Setting up a VPN (Level: Moderate)
If the above method didn’t work then your office or school is probably using a better web filter such as Barracuda. It blocks all traffic at the router so you still cannot access the blocked sites. This means that even though you have changed the DNS servers you still can’t open the blocked websites.
Do not worry though! There’s still a workaround for that. Read the method below to surf blocked websites.
- Own computer (at home) (tested it on Windows 7)
a. Download Hamachi and install it on your computer that will be acting as a server.
b. Open Hamachi and create a new network. Remember the name and use a strong password.
c. Install Privoxy (or other software proxy available)
d. Right click on the Privoxy tray icon and then edit the main configuration.
e. Search for listen-address 127.0.0.1:8118 by pressing CMD+F or CTRL+F on your Mac keyboard.
f. Change 127.0.0.1 to the IP of the Hamachi server. You can find the IP by opening up Hamachi, then right click on the IP at the top, then choose Copy IPv4 address.
g. Restart Privoxy.
Congrats if you have made it this far. You’ve just finished setting up the server part. Now we’ll need to setup the Mac computer at your office or school. Let’s proceed with the steps below.
h. Install Hamachi on the Mac computer (use your administrator account create above).
i. Connect to the network on your computer at home.
j. Open System Preference, then go to the Network page.
k. Click the Advanced tab, and go to the proxies.
l. Check the Web Proxy box, and go back to Hamachi.
m. Right click on the computer at home, and copy its IP address.
n. Paste the IP address into the proxy box, and use 8118 as the port (port used by Privoxy).
o. Click on apply, and Shazam!
You can now browse blocked websites in your network.
*credits to Wiztechie