7 ms·
Secure your browsing using a home VPN
- bahman2000 15y agoFor the other 50% of smartphone users that are on Android (as per this http://news.ycombinator.com/item?id=2855717 http://news.ycombinator.com/item?id=2855717 ): you can use OpenVPN and certificate authentication, Cyanogenmod supports it natively. Tunnelblick is the OSX client of choice for OpenVPN.
- iuguy 15y agoFrom TFA: > Here’s why I picked PPTP and I believe using it with very long passwords/passphrases is acceptable. Bear in mind that the author is looking to use this in open hotspots such as coffee shops etc. I would not advise that people implement this. As the author points out, there are a number of vulnerabilities in PPTP, the most serious of which is that the initiation protocol is susceptible to an offline brute force attack using tools like asleap[1]. To be clear, the attacker does not need a rogue access point, nor association with an access point for this to work. They can just passively sniff away, then at some point later go through the pcaps, crack it offline and do what they want. There's an episode of Hak5[2] covering this as well as this useful straight to the point video of asleep and THC pptp-bruter[3] [1] http://www.willhackforsushi.com/Asleap.html http://www.willhackforsushi.com/Asleap.html [2] http://revision3.com/hak5/asleap http://revision3.com/hak5/asleap [3] http://blip.tv/g0tmi1k/cracking-vpns-asleap-and-thc-pptp-bruter-3375795 http://blip.tv/g0tmi1k/cracking-vpns-asleap-and-thc-pptp-bru... The solution is to use L2TP and IPSec if you can and aren't jailbreaking, or to use a TLS VPN if you have jailbroken or don't have iDevices.
- sriramk 15y agoAuthor here. Like I said in the post, the third constraint I had was something that would work with dd wrt - and that doesn't support l2tp. Thanks for the bit on the offline cracking though.
- iuguy 15y agoNo worries, I understand your reasons for choosing PPTP, but I thought it important to highlight the consequences. It is clear you have put a lot of effort into it though and it's more well written than a lot of guides I've seen, hence my interest in the first place!
- tshtf 15y agoHow large is the risk of an offline attack if I choose a 16 character mixed case alphanumeric randomly generated password? Is there much of an exposure in that case?
- iuguy 15y agoThe characters are largely irrelevant. If an attacker is an opportunist and (for example) just wants to run any traffic passing his house through something quick and dirty then it's going to boil down to whether or not his wordlist contains your password. If the adversary is reasonably well organised they might use something like AWS to offload the cracking, in which case they may well expend more resources on a bigger and more wordlist. Cloud-based cracking is really interesting, especially when GPU support comes into play as most of the traditional models of attack complexity fall like a house of cards once your average joe can get the kind of supercomputing power only previously available to three letter agencies. In all honesty I would just avoid PPTP and stick to L2TP or an SSL-based VPN. In TFA the author chose PPTP because he wanted to stick what was available on his router and compatible with his devices. I understand their decision, although personally I don't see this as being any more secure than running a password protected browser-based file manager and port forwarding it to the world. You'd still have to obtain a password, but it's not hard.
- evilswan 15y agoFor the same use-case, a very quick howto on a disposable EC2 proxy for coffee shop browsing... http://flatterline.com/index.php/2009/04/23/disposable-proxy-for-secure-coffee-shop-browsing/ http://flatterline.com/index.php/2009/04/23/disposable-proxy...
- cek 15y agoI've been using this technique, but simply piggy backing on one of the several EC2 instances I already have.
- sriramk 15y agoWhen using my laptop, I do the same thing using the VPS my site runs on. The VPN thing is just for iOS
- ben1040 15y agoI use this, but it can be a little annoying now that some sites like StackExchange block EC2 netblocks (I guess because they have lots of juicy content ripe for scraping). Yelp is another one that comes to mind that does this as well.
- ldar15 15y agoWhat??? For real? Fuck. I was going to set up an EC2 vpn endpoint this very day.
- ben1040 15y agoYep. Some more discussion here: http://news.ycombinator.com/item?id=2441535 http://news.ycombinator.com/item?id=2441535 It sucks, but I can see the reason why they just blanket block EC2 rather than trying to find any more nuanced way to identify scrapers. If I were running scraping bots on EC2, rate-limiting me isn't a real threat since the instant I get throttled for misuse I can just destroy the instance, start up a brand new one on a different IP address, and continue as I was before.
- Legion 15y agoContrary to the article's assertion, OpenVPN is not natively supported by iOS.
- cromulent 15y ago"If you’re ok with not being able to use this from non-jailbroken iOS devices, you should use OpenVPN instead of PPTP as I do so below" I had to read it three times, but you are both in agreement.
- sriramk 15y agoSorry about the terrible phrasing. Late night post written in the excitement of getting it to work. Didn't expect to find myself on HN in the morning :) If you're not using iOS, you should be using OpenVPN.
- Legion 15y agoThe post was edited after I posted. Guess I have to start Pinboard-ing everything I respond to now.
- sriramk 15y agoI couldn't let that awful phrasing stand :)
- Wilya 15y agoThe entire article is based on PPTP for this exact reason..
- preinheimer 15y agoIf you'd rather not have to mess around with stuff, and have $5 to spare, we can help: https://wonderproxy.com/signup/vpn https://wonderproxy.com/signup/vpn It was a huge pain in the neck to get native support on Mac & various windows flavours. But our normal clients needed a good solution for testing flash & silverlight apps.
- aquark 15y agoI was contemplating setting up a VPS for this, but a turn key solution at $5\month would be much better. Can you comment on how you can offer 100GB\month VPN for $5 but the basic proxy plan is 2GB\month for $20? What use case does the proxy plan meet over the VPN other than more server locations?
- preinheimer 15y agoThe VPN locations are places with easy access to cheap bandwidth, the Proxy plan includes locations like South Africa, Columbia, and New Zealand where the cost of maintaining a presence is significantly higher. We're considering including the VPN locations (London, San Antonio) in the Proxy plan free of charge.
- sigil 15y agoAlso worth nothing: the typical 4MB WRT54G router doesn't have enough room for OpenVPN if you use the stock OpenWRT images. I've got a stripped down .config and image that does include OpenVPN, if anyone's interested.
- davepeck 15y agoShameless plug: my new app and service, Cloak (https://www.getcloak.com/ https://www.getcloak.com/), is a zero-hassle VPN. It's currently in beta for OS X. I'd love feedback from the HN community! Grab the app, enter your Cloak credentials, and you're done. If Cloak sees you're on on a password-less wireless network, it automatically activates. Cloak's servers are cloud-hosted; the client selects the back-end server that will give the lowest latency. Under the hood, Cloak for OSX is built on industry-standard OpenVPN. I expect Cloak will exit beta when the iPhone/iPad client is finished, probably in early September. But if you'd like to try it sooner, drop me a line [davepeck at getcloak dot com] and I'll send you a special HN invite code. Cheers!
- iuguy 15y agoInteresting. How do you plan to handle the GPL constraints on OpenVPN? Are you just using your own frontend running the compiled binaries or have you pulled the source in?
- davepeck 15y agoYeah, it's a custom frontend on a vanilla OpenVPN binary, so no GPL issues. That said, I'm actually considering what would happen if I went ahead and open-sourced the client anyway. Probably the only truly interesting code there is the Obj-C code to talk to OpenVPN via its management port. The rest would seem specific to the Cloak service. But perhaps there are other useful bits too...
- coderrr 15y agoAnother shameless plug here... We provide a cheap (39.95$/year) unmetered VPN service at https://www.privateinternetaccess.com https://www.privateinternetaccess.com We support all devices (OpenVPN, PPTP, IPSEC/L2TP) and have servers in US west/midwest/east, UK, and Switzerland.
- nodata 15y agoWhat is your logging policy?
- sriramk 15y agoAnd Linode has an outage in their datacenter which has brought down my site. Nice timing, Linode.
- SageRaven 15y agoI've got 3 low quality VPSs, priced from $0.99 to $2.50 per month, that I picked up on a whim over the years from deals posted to http://www.lowendbox.com http://www.lowendbox.com (no affiliation). On one server, I have squid running and bound to localhost. On my machine, I have autossh set up to maintain a constant port-forwarding connection established (via port 443 for maximum firewall/filter accessibility) with the squid server. I have my local web browsers proxying over that connection. So I'm pretty safe from snooping by my employer, home ISP, or whatever 133t hackers are sniffing traffic at McDonald's when I'm browsing and sipping a coffee. It's not the most elegant solution, but it does the trick. I supposed some day I'll mess around with OpenVPN (which I have deployed before, and do really like), but only when I'm bored or otherwise have nothing else better to do with my time.
- dustingetz 15y agothis is a fine solution, and what i've used before. it's worth pointing out that you only gain privacy for browsers and apps that _choose_ to use IE's proxy settings. your native IM client, even if it is using HTTP, may or may not use the proxy. Your remote desktop client probably isn't using HTTP so it can't use the proxy. with VPN you just don't care, all network traffic is routed through the VPN at network-driver level.
- coderrr 15y agoOne interesting benefit of using a local proxy tunnel (instead of VPN) is that you get rid of one round trip when making TCP connections. Since your browser will connect to localhost (~0ms) it will be able to send the HTTP request immediately rather than having to wait for a connection to be established to a remote host. Whether this actually ends up being faster or not depends on the distance between you and your proxy server and your proxy server and the remote host you're connecting to.
- drivebyacct2 15y agoIM clients, anything that sends UDP, DNS requests are all possibly and probably leaking out.
- windexh8er 15y agoSo VPN by someone who knows nothing about security. Fail.
- pnathan 15y agoWhy don't you update your comment with a detailed breakdown of why it's so fail?
- windexh8er 15y agoAnybody still implementing PPTP deserves the insecurities that are inherent. A much more elegant, and secure, solution would just be tunneling via SSH dynamically. It's easy to do, requires no setup and if done right (i.e. certs for auth) it is a more maintainable solution. I generally use IPsec - because, it is still by and far, the most secure of the VPN solutions with platform interop today. Setting up and maintaining an IPsec tunnel for the masses is not trivial unfortunately - which is why I'd recommend SSH or potentially OpenVPN (which has nice IPv6 support). The author of the article on how to implement references the below... http://www.schneier.com/pptp-faq.html http://www.schneier.com/pptp-faq.html ...I think there's plenty there to disuade you. Would you build your webapp on a framework that stores user credentials in plaintext as a feature? No. Enough said. Why go through the trouble of implementing something that's known broken? sigh
- mikeflynn 15y agoI've been traveling abroad and set up a VPN on a Linode box for some basic security and to bounce through the US for things like Netflix and Hulu. If nothing else this post's comments have unveiled some good turnkey VPN solutions, so thanks!
- lylejohnson 15y agoI have noticed that I'm sometimes unable to connect to my VPN from, for example, the wireless network of a hotel I'm staying at. Has anyone else run into this issue and is there a straightforward workaround?
- micmcg 15y agoSo even after reading the article, I'm unsure if its an appropriate set up for me. I just want a way to access my NAS at home from my iphone (mainly just web traffic). I'm not worried about securing my traffic from a public hotspot because I almost never use them. I just want to be able to connect over 3G or from my work wifi. Is PPTP still a high risk with a long passphrase? Or is the risk related to connecting to the VPN from an unsecured network? Also I should mention that I have a DD-WRT capable router, and I don't want to have another machine running just for VPN purposes. Thanks
- peterbotond 15y agothe simplest and pretty easy to do is ssh tunnel to the trusty home machine running vncserver, and then vncviewer into it via the tunnel. vpn is too heavy for home. and the home machine does not even need to run a full blown xserver, i.e. no video card needed.
- hoag 15y agoIf you want a fast, free, easy-to-use VPN, just get AnchorFree's HotSpot Shield. Most downloaded free VPN in the world. AnchorFree's CEO was also selected as one of Inc's 30 Under 30 this year. DISCLAIMER: AnchorFree's CEO is one of my dearest of friends for nearly 12 years, but that's not why I'm promoting HotSpot Shield here. It just really is that good, and I use it all the time on public hotspots.