Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have a netbook running Ubuntu 12.10 32 bit acting as a wifi router based off this guide http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/ I would like to have it take in all data and send it through tor and vpn, if the data is tor-supported (TCP, Web Traffic, etc.) send it to tor and if the data is not tor-supported (UDP, whatever else) send it through vpn otherwise BLOCK IT. I'm unclear how to do this. I don't have any vpn or tor set up yet. Also I do want to be able to ssh into this box at all times, right now I have ddclient updating dyndns.org to remedy this. Below is my set up as it stands now..

Internet<--->DNS<--->Cable Modem<--->Ubuntu Netbook/Wifi Router<--->All other devices

share|improve this question
BUMP....... –  Raansu Mar 2 '13 at 9:48

Your Answer


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

Browse other questions tagged or ask your own question.