Bear with me on this one please

I live in a country with censorship and the government has been shutting down access to certain websites and its thinking about shutting down access to twitter and facebook, as well as other social media sites.

So what I have to work with is this, a WiFi router, an ubuntu box with 2 ethernet connections and my internet router. 

This is what I would like to do, to connect the cable modem to my ubuntu box, and then connect my ubuntu box to my wifi router to then give access to all the devices in my house, I was wondering if there was a way to install something like Tor or Vidalia on the ubuntu box and route all blocked traffic through tor so all devices could access the blocked sites without installing tor in every device.