Live data from Hacker News

How to set up your own free VPN server on AWS

webdigi.co.uk

21–30 of 33 posts

Re: How to set up your own free VPN server on AWS

#21

> However, it has always been hard to trust a VPN provider who could potentially log and intercept your internet traffic! Later: > Then under Template, Source, select “Specify an Amazon S3 template URL” and paste in this URL https://s3.amazonaws.com/webdigi/VPN/Unified-Cloud-Formation... and then click Next. Now you're just trusting your obscure VPN machine-image provider not to log and intercept your traffic! (Or am…

the project is open source and you can view the code. the underlying os is the base Ubuntu image provided by amazon.

Re: How to set up your own free VPN server on AWS

#22
Who owns 169.254.169.254? Just looking at the wget in the setup script...

Also I'd suggest people get an OpenVPN VPN if they can. PPTP is insecure/broken, nobody should be using it ever. And while L2TP/IPSec is secure, it is a massive PITA to use and is often blocked on public WiFi (where a VPN is most useful) because they don't allow the ports/protocols (plus IPSec traversal is a nightmare in some cases).

OpenVPN acts like an SSL connection (not dissimilar to that used by HTTPS) so it works more places. It also traverses most network equipment without issue since, again, it looks similar to HTTPS traffic.

PS - I have no horses in this race, but I have setup an L2TP/IPSec VPN on EC2 before, it was an unpleasant experience all around.

PPS - If you REALLY want OpenVPN to work great put it on port 443. If you browse there nothing will happen, but OpenVPN clients will happily use the port and few if any network equipment is designed to block it.

Re: How to set up your own free VPN server on AWS

#23

Who owns 169.254.169.254? Just looking at the wget in the setup script... Also I'd suggest people get an OpenVPN VPN if they can. PPTP is insecure/broken, nobody should be using it ever. And while L2TP/IPSec is secure, it is a massive PITA to use and is often blocked on public WiFi (where a VPN is most useful) because they don't allow the ports/protocols (plus IPSec traversal is a nightmare in some cases). OpenVPN ac…

169.254.169.254 explained here http://tools.ietf.org/html/rfc3927

Re: How to set up your own free VPN server on AWS

#24

Beware that free tier has 15 GB upload limit. from https://aws.amazon.com/free/ : Data Transfer 15 GB of bandwidth out aggregated across all AWS services*

I'd always recommend anyone using the free tier to add a free billing alert to your AWS account. For example when I had a free tier server, it cost me roughly $5/month, so I had an alert set to $15/month.

When my free tier ran out (I got the month wrong) the alert notified me ($16 in charges) and I purchased a reserved instance to bring the cost back down to under $10/month.

Re: How to set up your own free VPN server on AWS

#25
post #18
post #9

They speak of a free tier for new AWS customers but how much does it cost if we're not a new customer?

the same tiered machine running for a full month costs about 7usd.

Little more than that. $7 with a reserved instance maybe. I'd say $10-11, but sub-$10 with a reserved instance (including the initial buy-in).

Re: How to set up your own free VPN server on AWS

#26
post #23

Who owns 169.254.169.254? Just looking at the wget in the setup script... Also I'd suggest people get an OpenVPN VPN if they can. PPTP is insecure/broken, nobody should be using it ever. And while L2TP/IPSec is secure, it is a massive PITA to use and is often blocked on public WiFi (where a VPN is most useful) because they don't allow the ports/protocols (plus IPSec traversal is a nightmare in some cases). OpenVPN ac…

169.254.169.254 explained here http://tools.ietf.org/html/rfc3927

Ah I see. Here's a better explanation: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-insta...

Re: How to set up your own free VPN server on AWS

#27
post #2

Why is PPTP still used and promoted? http://en.wikipedia.org/wiki/Point-to-Point_Tunneling_Protoc...

Because IPSec is a dog in a million different ways (config, firewall, etc) and lots of shops moved to PPTP because it shipped on their Windows servers and is brain-dead simple to implement and use. It was "good enough." A lot of those issues linked are MS specific anyway, regarding MS-CHAP. You don't have to use MS-CHAP.

PPTP has fallen out of fashion now, and I'm a little surprised to see it being promoted. Now we're all moving to IPSec running in L2TP which seems to be the best of both worlds. You lose the various firewall issues plain jane IPSec introduces and get IPSec level security. Of course you still have an IPSec config on your hands, but that's a one time pain. OSX, Windows, and Android support it natively which is a big plus as well.

If you just want something quick and dirty, PPTP or OpenVPN SSL VPN are the obvious choices. Personally, I'd rather just do SOCKS or port forwarding with an ssh server somewhere than do lazy VPN. Its worth getting right.

Re: How to set up your own free VPN server on AWS

#28

Beware that free tier has 15 GB upload limit. from https://aws.amazon.com/free/ : Data Transfer 15 GB of bandwidth out aggregated across all AWS services*

I'd always recommend anyone using the free tier to add a free billing alert to your AWS account. For example when I had a free tier server, it cost me roughly $5/month, so I had an alert set to $15/month. When my free tier ran out (I got the month wrong) the alert notified me ($16 in charges) and I purchased a reserved instance to bring the cost back down to under $10/month.

Until / unless there is a way to actually put a cap on billing (not just a notification), it's something I'll stay away from when I can.

Re: How to set up your own free VPN server on AWS

#29
I like the CloudFormation bit - I think I'll give that a try. I wrote a book on how to setup your own VPN in AWS for overseas streaming (step-by-step) but using the OpenVPN AS appliance.

Everyone's mileage and needs are different but OpenVPN is probably a better choice over PPTP & L2TP for security and speed - at least in my experience. www.virtualjj.com if you want to take a peak of what I did.

Re: How to set up your own free VPN server on AWS

#30

Here is another example using Digital Ocean. This looks complicated but is very simple: https://www.digitalocean.com/community/tutorials/how-to-set-... If you want to use Docker: https://www.digitalocean.com/community/tutorials/how-to-run-...

If you don't mind the 2 user limit might as well install OpenVPN Access Server. Gives you a web UI and the setup is easier https://www.digitalocean.com/community/tutorials/how-to-inst...
Post reply on HN