title: How to write my own proxy, anonymizer and host it to help when websites are blocked at work
body: <p>I work as a <strong>contractor/freelancer</strong>. At most client sites a lot of <strong>websites are blocked</strong>. Specifically Gmail and Facebook which I really would like access to while on assignment.</p>
  
  <p>I know there are a lot of <strong>proxy</strong>/<strong>anonymiser</strong> websites out there that allow you to use their website to circumvent the website filtering of the business IT policy but most of these sites contain malware, objectionable images and are blocked anyway where I am currently on assignment.</p>
  
  <p>I own a number of domains and would like to <strong>write my own proxy/anonymiser and host it</strong> on one of these domains to let me access Gmail and Facebook while on client site. The url will be low profile, low traffic so should not get blocked, I can already access the urls now.</p>
  
  <p>How would I go about writing the code for this? also if there are any opensource projects or apps I can run on my webserver that will give me this functionallity I would happily do this/buy this product.</p>
  
  <p>I currently have shared hosting but would consider dedicated/virtual if necessary.</p>
  
  <p>What are the things I need to consider to make this work? I don't mind spending money, time to get this working as I have made a decision to remain contracting for the foreseeable future and this will benefit me greatly.</p>
  
  <p>Thanks.</p>
  
  <p>I know it's probably hard to write this, but can anyone <strong>post links to some code</strong> that does this as a starting point? I have tried searching but can't find anything, I'm really not sure what search terms to use.</p>