Autovpn – Script to Create an OpenVPN Endpoint on AWS
github.com
github.com
I recommend people give tinc a try instead. Specifically version v1.1-pre*. It's an absolute doddle to setup, uses Ed25519 key pairs, and plays much more nicely with traditional network configuration.
https://github.com/trailofbits/algo
Algo is IPSEC, not OpenVPN (I'm ambivalent about which one is better, but IPSEC has OS-level support on Macs) and carefully chosen parameters.
It would be pretty sweet if you could download an app, enter billing information and get a super fast private proxy.
https://news.ycombinator.com/item?id=13221923#13223326
What's more frustrating about claims like this are the premises that suggest IPSEC is somehow unknowable. IPSEC is far better studied than OpenVPN is, and its underlying protocol is simpler than TLS (which, of course, NSA is also routinely accused of having tampered with). More importantly: these are protocols, not ciphers. Not only can we read and simulate and test them, we can in fact prove things about them computationally.
I don't know how to articulate the succinct and conclusive argument that you're "not even wrong", but that's the territory that claim lands you in.
Doesn't hurt that OpenVPN is more 'open' (heh) than IPSEC+L2TP or IPSEC+IKEV2.
* Here's a deep dive on that OpenBSD IPSEC backdoor theory (long story short: it wasn't one, though even if it had been, it would have affected only an old version of IPSEC): https://news.ycombinator.com/item?id=2014197
* Virtually everyone I know in cryptography believes BULLRUN to be a code name for Dual EC DRBG, which is a backdoor, and targets TLS.
* The Diffie-Hellman attack referred to here was discovered first in (you guessed it) TLS.
As for zero-day attacks again IPSEC software, that is no doubt a thing! But it's no less a thing for OpenSSL.
I don't understand how you manage to get to "IPSEC is less open than TLS", since they're both equally open.
I noticed DH params do get generated via easy-rsa (although not audited that code, so can't comment on how rigid it is, nor what keysize is being used so that could be defaulting to 1024 which isn't all that great nowadays)
set_var EASYRSA_KEY_SIZE 2048
# gen-dh backend: gen_dh() { verify_pki_init
local out_file="$EASYRSA_PKI/dh.pem" "$EASYRSA_OPENSSL" dhparam -out "$out_file" $EASYRSA_KEY_SIZE || \ die "Failed to build DH params" notice "\
https://github.com/OpenVPN/easy-rsa/blob/master/easyrsa3/eas...
The right way to do this is to use terraform - which specializes in building production grade scripting templates to spin up clusters on a wide variety of cloud providers.
The Openvpn installation itself could be a docker VM.
That way you eliminate the need to build "will it work on cloud provider X and operating system Y?"
But we met a roadblock when we tried to get DNS to work automatically -- we wanted the GCP boxes to be resolved to their internal IPs, so we set up a DNS server (dnsmasq) on GCP, but there seemed to be no way to tell the client to use it to resolve .internal. There's a plugin/extension available for IKEv1, apparently, but we couldn't find a way to do it for IKEv2. The only way was to configure each client machine's DNS server list (and default domain list) manually, which is not really acceptable.
For now we've switched to OpenVPN, which is fine but requires installing a third-party VPN client on macOS. I would love to know if we could solve the DNS issue and go back to IKEv2. Anyone done this?
If you just want to use your GCP dnsmasq instance for the .internal top-level domain (not all DNS queries), then you'd want to run a resolver locally that you can configure to selectively forward queries.
This is pretty easy on Linux but I've never attempted it on MacOS. I realize it's probably not ideal but perhaps you can install dnsmasq or unbound on MacOS via homebrew or Macports?
Once the project stabilizes, we want to make a GUI that helps people deploy it but it's not that mature yet.
Another popular use-case is streaming (paid-for/ad-supported) content from a different region of the globe that is blacked out in your region (and the rights-holders wonder why people still torrent).
*all non-SSL traffic, no?
And even when you're using HTTPS you're still leaking DNS queries etc.
Also on EC2, Google and Azure. Also not OpenVPN (native IPSec).
EDIT: I asked further up on the thread; kindly answer there instead. My apologies for the double-ask.
https://github.com/digitalocean/do_user_scripts/tree/master/...
Edit: maybe adminstration tasks for AWS? But then, isn't SSH okay for that?
Another reason could be to bypass censorship / filtering for low volume web traffic websites. You may not trust a paid VPN service.
It was a quick one-time set-it-up-and-forget-it (to configure "ProxyCommand" in ~/.ssh/config) kind of thing that just works.
Googling for IPSec leaves me a bit befuddled; can anyone explain the differences / tradeoffs?
If I felt like setting my personal laptop to always use an IPSec VPN for day-to-day computing, what downsides would I experience?
https://github.com/trailofbits/algo#why-arent-you-using-open...
Shame it limits you to two concurrent connections but hey, it's free.
Is the "OpenVPN Access Server" AMI has any limitation?
Power of the cloud! Shouldn't this be ~instant? Maybe upload a very minimalist AMI or static overlay to a default AMI instead of whatever route is being used here (I didn't check)?
https://news.ycombinator.com/item?id=2409090 (6 years ago) - first comment mentions OpenVPN
https://news.ycombinator.com/item?id=9281954 (2 years ago)