Why not using an Ansible playbook? You can deploy it on any VPS without vendor lock in.
Quick VPN Setup with AWS Lightsail and WireGuard
11–20 of 78 posts
Re: Quick VPN Setup with AWS Lightsail and WireGuard
#12Re: Quick VPN Setup with AWS Lightsail and WireGuard
#13Why not using an Ansible playbook? You can deploy it on any VPS without vendor lock in.
All you need is any ubuntu vps - in fact any systemd distro if you ignore the "ufw" commands - and the 50 or so lines following "Wireguard Setup".
It doesn't get more simple than this.
Re: Quick VPN Setup with AWS Lightsail and WireGuard
#14Re: Quick VPN Setup with AWS Lightsail and WireGuard
#15Why not using an Ansible playbook? You can deploy it on any VPS without vendor lock in.
I didn't care about the AWS and zsh aspects of the article, but what vendor lock-in are you talking about and how exactly would an ansible playbook sort it? All you need is any ubuntu vps - in fact any systemd distro if you ignore the "ufw" commands - and the 50 or so lines following "Wireguard Setup". It doesn't get more simple than this.
Re: Quick VPN Setup with AWS Lightsail and WireGuard
#16Fairly off-topic, but I've been having the hardest time finding a Wireguard configuration guide that lets me connect two peers (my phone and an SBC at my house behind my router) to a VPS peer (with a public IP) in a way that routes all the traffic from my phone through the SBC (via WG) and out to the internet via my home fiber connection. All the blog posts and tutorials I've seen have traffic going out through the V…
Re: Quick VPN Setup with AWS Lightsail and WireGuard
#17Re: Quick VPN Setup with AWS Lightsail and WireGuard
#18Earlier quoted context omitted.
I didn't care about the AWS and zsh aspects of the article, but what vendor lock-in are you talking about and how exactly would an ansible playbook sort it? All you need is any ubuntu vps - in fact any systemd distro if you ignore the "ufw" commands - and the 50 or so lines following "Wireguard Setup". It doesn't get more simple than this.
Well using the aws cli is locking you in to AWS, isn't it? And at least from my experience those "just 50 lines of shell" can get very messy overtime. Eventually, if you add more features (pretty much every project gets more features over time), you will refactor once or twice and end up rewriting it in Python, make it more declarative because it's easier to test and tada, you just reinvented Ansible yourself. I thin…
Just copy/paste them commands in any linux vps. You don't need aws, at least lightsail is cheap. Ionos (1&1) is cheaper.
Re: Quick VPN Setup with AWS Lightsail and WireGuard
#19Fairly off-topic, but I've been having the hardest time finding a Wireguard configuration guide that lets me connect two peers (my phone and an SBC at my house behind my router) to a VPS peer (with a public IP) in a way that routes all the traffic from my phone through the SBC (via WG) and out to the internet via my home fiber connection. All the blog posts and tutorials I've seen have traffic going out through the V…
You can split the tunnel based on IP routing, but I think that's as good as it gets. So if you want to Wireguard specific traffic to your peer then you're fine. For instance, we have our internal cloud network linked to our offices via wireguard, but traffic to anything that is not that network goes to the public Internet via our fiber.
But if we wanted to send HTTP requests always through the WG, that is not possible to configure because WG acts as an L3 VPN and Layer 3 has no conception of anything but the network. You couldn't say "Send HTTP requests through my normal fiber, but DNS requests through my VPS peer".
Re: Quick VPN Setup with AWS Lightsail and WireGuard
#20Which sucks on 464xlat networks, as the proxy dies after a while making you lose incoming connections.