
By Matthew Rogers How to Encrypt All Internet Use on Your Android Phone
What you'll need:
Why use encryption at all? What's an SSH Tunnel?Normally, you don't need to worry about encryption on your phone because you're already using your carrier's mobile data connection, which in and of itself is pretty secure already, if only because you're the only person using it. The problem arises when you connect to public Wi-Fi. On public Wi-Fi, anybody can listen in on everyone else's web traffic with the right tools, and in doing so, potentially gain access to things like your social networks, your email, or worse. SSH Tunneling allows your phone to create a secure, encrypted connection to a server located far away from the public Wi-Fi, and run all your data through that connection (like a tunnel). The Wi-Fi connection you're using may not be secure, but when you're using an SSH tunnel, your data will be. See our previous guide to encrypt your web browsing session using this method on a computer for the desktop version of this guide. Step One: Find or Set Up an SSH ServerThe first thing you'll need to do in order to use an SSH tunnel, is to find a server to connect to from your phone. Paying for an SSH Server
You can find free web hosts, but they tend to be extremely slow and unreliable. There are also "shell accounts," which are basically nothing but SSH accounts on a server; they're cheap, but you're really only saving a couple of dollars compared to the cheaper web hosts, and in my experience they're often not fast enough for our purposes. You don't need to worry about buying a domain name for your server if you don't want to, since they come with what's called an "access domain." It's basically an ugly URL for your server (an example would be ve.tddlyfzr.vesrv.com), and it's all you need to connect with SSH. Setting Up SSH on Your Home PCIf you don't feel like paying money for your SSH server, you've also got the option of setting up your own SSH server on your home PC, but it's got major pitfalls that make renting a web host—and spending the cost of two lattes—feel well worth it. When you tunnel through your home PC, the connection speed tends to be dismally slow (all the traffic is going through your home computer, so your speed will bottleneck with the speed of your upload bandwidth), not to mention the fact that the computer needs to be on and connected at all times. You'd also need to set up a service like DynDNS to assign a domain name to your PC and keep track of your home IP address, otherwise you wouldn't know where to connect to while out of the house. We've got some very in-depth instructions for how to rig your home PC as a media server, which also covers router settings and setting SSH to receive connections. Windows takes a minimal amount of work to install and run SSH, while Linux and Mac should theoretically "just work." It really is easier and generally better to use a web host if you can. Web hosts have a direct line to the internet, so compared to your home computer, they're incredibly fast, and there's nothing to bother setting up to connect to them with SSH. If, like many Lifehacker readers, you've already got one, then using it won't cost you anything more than you're already paying Step Two: Set Up the SSH Tunnel App on Your Android
Once you have a server to connect to, simply enter your server's domain as the Host, then enter your SSH username, and your password. Check the boxes that read "Use socks proxy" and "Global Proxy," then flip the "Tunnel Switch" and it connects—dead simple. To make things even easier, the app also has options to reconnect automatically if the connection drops. Now, on all your connections (or just whenever you want to turn it on), all of your Android traffic will be secured, encrypted from prying eyes. Got a preferred secure usage method of your own? Let's hear about it in the comments. | May 20th, 2011 Top Stories
|
No comments:
Post a Comment