TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Algo: A set of Ansible scripts that simplify the setup of a personal IPSEC VPN

189 pointsby uoflcards22almost 7 years ago

18 comments

vermilinguaalmost 7 years ago
It’s worth mentioning that it is not, nor does TrailOfBits pretend, that the goal of this project is privacy; it is security. Algo doesn’t and couldn’t care less about your privacy once you reach the endpoint, only about securing the tunnel.<p>You shouldn’t use Algo if you are concerned about surveillance from corporations&#x2F;governments, you <i>should</i> use Algo if you are concerned about surveillance&#x2F;attacks from your local network or ISP.
评论 #17816411 未加载
评论 #17820608 未加载
评论 #17816606 未加载
dalanmilleralmost 7 years ago
It should be noted that if you&#x27;ve setup Algo already that it now supports WireGuard. The WireGuard Android app (which would be great to verify that it is indeed published by www.wireguard.com) is stupid easy to setup and enable on your device.
评论 #17818405 未加载
nodesocketalmost 7 years ago
I prefer <a href="https:&#x2F;&#x2F;github.com&#x2F;hwdsl2&#x2F;setup-ipsec-vpn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hwdsl2&#x2F;setup-ipsec-vpn</a>. Shamless blog post on setting it up on a Raspberry Pi 3 - <a href="https:&#x2F;&#x2F;blog.elasticbyte.net&#x2F;setting-up-a-native-cisco-ipsec-vpn-server-using-a-raspberry-pi&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.elasticbyte.net&#x2F;setting-up-a-native-cisco-ipsec...</a>
评论 #17816156 未加载
评论 #17817901 未加载
eximiusalmost 7 years ago
Use Wireguard. It is wonderful and the community is friendly. `wg-quick` is easy to use but if you need it, I believe Streisand supports automatically provisioning a wireguard setup.
评论 #17816464 未加载
评论 #17818210 未加载
评论 #17817180 未加载
评论 #17817005 未加载
accrualalmost 7 years ago
&gt; Does not install Tor, OpenVPN, or other risky servers<p>Although I recognize IPsec is a widely supported protocol and suitable for this use case, did the readme intend to imply OpenVPN is risky?
评论 #17816095 未加载
TimTheTinkeralmost 7 years ago
Question - are there any guides available to help set up a home-brew router to route all outbound connections through an Algo VPN with exceptions for Netflix&#x2F;etc.?<p>Something like this (this is for OpenVPN): <a href="https:&#x2F;&#x2F;arstechnica.com&#x2F;gadgets&#x2F;2017&#x2F;05&#x2F;how-to-build-your-own-vpn-if-youre-rightfully-wary-of-commercial-options&#x2F;" rel="nofollow">https:&#x2F;&#x2F;arstechnica.com&#x2F;gadgets&#x2F;2017&#x2F;05&#x2F;how-to-build-your-ow...</a><p>I currently have a pfSense router set up with Algo, but I have to disable the IPSec policy whenever I want to use Netflix. (Discussion here: <a href="https:&#x2F;&#x2F;github.com&#x2F;trailofbits&#x2F;algo&#x2F;issues&#x2F;292" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;trailofbits&#x2F;algo&#x2F;issues&#x2F;292</a> - see comments near the bottom.)
评论 #17817021 未加载
Nadyaalmost 7 years ago
I actually tried running Algo through Azure and Microsoft terminated my Azure account citing I was breaking Terms of Service. I had hosted Algo for all of two and a half days before the takedown.<p>Not sure if anyone else has had luck - that was all I was using Azure for was to test Algo out so had nothing else running on Azure at the time. I also ran into a few snags trying to deplay Algo onto Azure so haven&#x27;t bothered trying to set it up elsewhere. My goal of the VPN was to get a JP address as a few sites I browse are easier to browse with a JP address (eg: I don&#x27;t get forced bad English translations with no way to toggle to the JP version of the site because I&#x27;m coming from an American IP...)
评论 #17816424 未加载
评论 #17818456 未加载
chrisweeklyalmost 7 years ago
Given this post&#x27;s HN commentary is full of seemingly well-informed perspectives on the relative merits of several VPN service providers and software packages can anyone comment on Private Tunnel? I&#x27;ve been using it for years, having paid something like $20 for 100GB. No complaints, but interested in expert opinion &#x2F; insights regarding privacy and security. Thanks!
评论 #17818505 未加载
akerroalmost 7 years ago
&gt;Does not install Tor, OpenVPN, or other risky servers<p>Does it call OpenVPN a risky server? Why?<p>Found it <a href="https:&#x2F;&#x2F;github.com&#x2F;trailofbits&#x2F;algo&#x2F;blob&#x2F;master&#x2F;docs&#x2F;faq.md#why-arent-you-using-openvpn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;trailofbits&#x2F;algo&#x2F;blob&#x2F;master&#x2F;docs&#x2F;faq.md#...</a>
ilarumalmost 7 years ago
What is the best way to have a VPN in each continent (apart from the obvious option to have an instance in each region)? I used to pay for a commercial service, but I lost this functionality when I switched to a self-hosted solution.<p>I prefer this feature since I travel a lot and would like to have lower latency wherever I am.
评论 #17816238 未加载
评论 #17816138 未加载
givinguflacalmost 7 years ago
Serious question, do people consider a cloud provider to be more trustworthy than a professional VPN company?
评论 #17815980 未加载
评论 #17816093 未加载
评论 #17816088 未加载
评论 #17816118 未加载
评论 #17815953 未加载
评论 #17815905 未加载
评论 #17817247 未加载
ishanjain28almost 7 years ago
How do you decide what vpn tech to use?<p>I was using openvpn and then switched to wireguard because openvpn was consuming a lot of power on my phone.<p>Why would I want to use Ipsec?
评论 #17816601 未加载
评论 #17818073 未加载
alchemismalmost 7 years ago
Also is great. I extend this script and use it as a quick-and-easy way of managing my dev team’s vpn into our clouds.
xanthalmost 7 years ago
Having not done any cloud work myself I have no clue how much this would cost, anyone able to give a rough estimate?
评论 #17816084 未加载
verroqalmost 7 years ago
Not enough people have heard of Outline. <a href="https:&#x2F;&#x2F;getoutline.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getoutline.org&#x2F;</a><p>It is a shadowsocks client and even non-technical users can provision VPNs on cloud hosting providers.
评论 #17816244 未加载
评论 #17816297 未加载
mtgxalmost 7 years ago
IPSEC is broken by (NSA) design. Use Wireguard instead.<p><a href="https:&#x2F;&#x2F;www.mail-archive.com&#x2F;cryptography@metzdowd.com&#x2F;msg12325.html" rel="nofollow">https:&#x2F;&#x2F;www.mail-archive.com&#x2F;cryptography@metzdowd.com&#x2F;msg12...</a><p><a href="https:&#x2F;&#x2F;www.wireguard.com&#x2F;protocol&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.wireguard.com&#x2F;protocol&#x2F;</a>
nimbiusalmost 7 years ago
&gt;Algo supports DigitalOcean (most user friendly), Amazon Lightsail, Amazon EC2, Microsoft Azure, Google Compute Engine, Scaleway and OpenStack.<p>four of the seven listed are cloud providers that actively encourage censorship for the sake of their business model. at best, you would be a fool to run a personal VPN on them, at worst the fact that support exists at all could be evidence that this software is in fact <i>worse</i> than openVPN or TOR in that it facilitates an obviously poor implementation.<p>Google and Microsoft both joined the PRISM program in 2009.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;PRISM_(surveillance_program)#Media_disclosure_of_PRISM" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;PRISM_(surveillance_program)#M...</a>
codedokodealmost 7 years ago
I once wanted to write an Ansible playbook to install VPN on a server but found out that you cannot just pass parameters via command line like<p>ansible setup-vpn 1.2.3.4<p>Ansible expects you to write host address into a file in &#x2F;etc. So inconvenient. Also, Ansible doesn&#x27;t support Windows and Cygwin.<p>It turned out it was easier to write instructions into a Bash program. Sadly, it is non-portable and works only with a specific distribution.<p>It is also surprising how many files are there in the repository for a relatively simple task. And how complicated installation process is. In PHP everything would be easier, because you can pack your application into a single phar archive like in Java.<p>They don&#x27;t support builtin Android client. I remember I installed Strongswan or something like this and it worked with Android out of the box.<p>I wouldn&#x27;t recommend Digital Ocean. They don&#x27;t accept virtual debit card (they want a real card so they can charge you whenever they want) and their VPS are too expensive. $5 per month is too expensive when you can find offers as low as 1 euro&#x2F;month in Europe with pre-paid system.
评论 #17818603 未加载
评论 #17818279 未加载
评论 #17818577 未加载
评论 #17818719 未加载
评论 #17818260 未加载