Ubuntu – the best method to get a secure connection on a public wireless spot

Ubuntuwireless-networking

On public spots like school, library or train, it is very easy to intercept the data sent/received. Because of that, I want to create a secure connection (through my home router).

I am aware of setting up SOCKS over SSH for Internet browsers, but would like a method which encrypts all data sent over the network. It should work for wireless connections and, if possible, wired connections too.

Security and performance often don't glue together, I can live with a small performance loss for better security.

What are the possibilities on achieving this secure connection, with a low performance hit?

I am using Kubuntu 10.10.

Best Answer

  • OpenVPN can allow you to tunnel all your traffic through your home machine, but does require some extensive knowledge of SSL to set up. OpenVPN would use a TUN/TAP adapter (a virtual ethernet card, as it were), then you would merely need to set a host route to your home machine though the unencrypted connection, and your default route through the tunnel. Just like that, it's just as though you were plugged in to your home network using a very slow ethernet cable.

    This does require leaving a machine on at home (or a router that supports OpenVPN) and the ability to set up bridging or routing to connect the OpenVPN adapter to your network on the machine running the OpenVPN server.

    A number of organizations also offer OpenVPN connections to users for a small fee. Googling "OpenVPN provider" comes up with a good number of results for that, and while that would cost, it would also avoid needing to set up your home network for the VPN in question.

  • Related Question