Actually, I was prepared to write up a whole article on how to do this. 1 Word: Hamachi
Okay, well, if you want more information.
How Schools Block Websites:
This in effect is quite simple, when you access a schools wireless network using your own laptop, you are placed into a Virtual Local A rea Network within the school's IT System, this system runs through a DNS Server or, a Proxy Server, I've seen both setups, which filters the strings that your PC is searching for.
When it detects that your PC is searching for, let's say http://www.4chan.org/ ( I have yet to find a school that hasn't banned 4Chan) the DNS Server will redirect the request for a webpage to either nothing (Browser returns a 404 message) or to a custom page saying "Access Denied - You have been blocked"
How to get around this:
Set up the Hamachi Client at home, on a computer that will be always on and connected to the internet, or at a friends place, it doesn't really matter. Set it up so that both TCP and UDP are using Port 80 (Settings->Preferences->Status->Detailed Configuration) Then set yourself up a server as per-normal. (I assume I don't have to mention you have to install Hamachi first...)
Now, go to your laptop that you take to school (Assuming your school lets you use your own lappie, if they give you one chances are you can't install anything on it so you've just wasted your time) and install Hamachi.
Change the ports on your Laptop to port 80.
Connect to your server
Go to Start->Run, Type in "cmd"
In teh command prompt type: "ipconfig / flushdns"
Thsi will flush your DNS resolver cache, now, make sure that your laptop can see the server and connect with it, ping should do that, so ping the address of the Server, not the Internet Address of your router or the internal network address, but the 5.x.x.x/8 address that your server will have in its console.
In action:
Now, the way that DNS works is that if your school has the filter in, what will happen is that your PC will ask the school "Do you know the IP of http://www.4Chan.org/?"
School will reply
"No, bugger off"
This is where most people have problems, but wait, your PC has another network, so instead, it will ask the Other Computers on the network:
"Do any of you know the IP of http://www.4chan.org/" and one of them, because it is outside the schools firewall, will say "Yes, it is x.x.x.x" and your Web browser will then navigate to the IP Address, which is not blocked, and load the website.
That is the thing, you can only block a website by name, not IP, as you can never be sure the same IP will be visited again and again, after all, Google has a few thousand IP Addresses, so if you wanted to block Google by IP, you would need to enter a few thousand addresses into a database,. Much easier to enter a string of "www.google.com"
Why this should work:
Hamachi, in its normal flavor uses the following ports:
Server
TCP 12975, 32976 outbound
failover to SSL (443 TCP)
Client
UDP random (default), inbound/outbound
failover to relay, UDP 17771 outbound
Now, any good Network Admin thinking about security would have these blocked, but what we have done is told Hamachi to use Port 80 for inbound and outbound traffic, thus meaning that it sends all the data through a port normally only used for HTTP traffic which is the exact same traffic that the firewall would be letting through so the internet will work.
I hope this helps you all.
(Should work behind a corporate firewall, but how many companies let employees use their own laptops?)
This will also work for your friends who would like to connect to your server, if you let them that is. Remember, when setting up the server, pick a password!!
Hamachi can be downloaded from: https:/ /secure.logmein.com/products/hamachi/download
.asp
Anyone see how this could be tweaked to be more effective? Or at least to put in some simple failsafes to make this harder to foil?
-Kasterborus













