Oh neat! That looks like a perfect fit for me! I saved your post and will come back to it once the biyearly “just f*ing fo it again” motivation hits me once more :D
- 16 Posts
- 134 Comments
Yes, I do loose the origin IP and I’m a little bugged by it. It also means that ALL traffic incoming on a specific port of that VPS can only go to exactly ONE private wireguard peer. You could avoid both of these issues by having the reverse proxy on the VPS (which is why cloudflare works the way it does), but I prefer my https endpoint to be on my own trusted hardware. That’s totally my personal preference though.
I trust my VPS provider to not be interested enough in my data to setup special surveillance tooling for each and every possible software combination their customers might have. Cloudflare on the other hand only has their own software stack to monitor and all customers must adhere to it. It’s by design much easier for them to do statistics or snooping.
I am using the smallest tier VPS from IONOS for 1€/month. Good, reliable and trustworthy as it is a subsidiary of 1&1 telecommunications.
Rent a VPS, point DNS to it, have it act as central wireguard peer and connect your server(s). Then bridge incoming traffic to server via socat or firewall rules. Done
Sure it’s easy to set up, but the same behaviour is what I get with my handrolled solution. I rent a cheap VPS with a fixed IP solely for forwarding all traffic through wireguard. My DNS entries all point to the VPS and my servers connect to the VPS to be reachable. It is absolutely network agnostic and does not require any port shenanigans on the local network nor does it require a fixed IP for the internet connection of my home server.
Data security wise the HTTPS terminates on my own hardware (homeserver with reverse proxy) and the wireguard connection is additionally encrypted. There are no secrets or certificates on the rented VPS beyond the bare minimum for the wireguard tunnel and my public key for SSH access.
Shuttling the packets on the VPS (inet to wireguard) is done by socat because I haven’t had the will or need to get in the weeds with nftables/iptables. I am just happy that it works reliably and am happy to loose some potential bandwidth to the kernelspace/userspace hoops.
maiskanzler@feddit.deto
Linux@lemmy.ml•What do I think about Lua after shipping a project with 60,000 lines of code? - Interview with lead programmer of the video game Craftomation 101.
8·2 years agoComing from Rust I am toying around with Lua at the moment. Lua is a small, simple and I would say a very neat language. But for big projects like an entire game I would personally much prefer a “traditional” compiled language like C/C++, Java/C# or Rust. Scripting langs are great for small scopes, but they quickly become a burden for bigger things in my opinion.
maiskanzler@feddit.deto
Ukraine@sopuli.xyz•In Moscow, a man who was assaulted and robbed tried to file a police report, but was fined 50,000 RUB and given a military summons because of his multicolored hair.
61·2 years agoAnd basically sentenced for life on top of that.
Make sure you upgrade your Emotional Damage attack points!
maiskanzler@feddit.deto
Linux@lemmy.ml•Ubuntu 24.04 LTS is so buggy you can't install the OS [video]
2·2 years agoBut I like to use Btrfs on top of LUKS and more often than not it’s not an option.
maiskanzler@feddit.deto
Linux@lemmy.ml•How to display a symbol similar to the undervoltage symbol on raspberry pi
1·2 years agoDoes it have to be an overlay or would a regular notification that pops up suffice? Those may be quite easy to write fir your chosen DE.
maiskanzler@feddit.deto
Linux@lemmy.ml•Vim Lands XDG Base Directory Specification Support
14·2 years agoThis is pretty verbatim.
Do you see that hill? Wouldn’t you like to… see what’s behind it?
maiskanzler@feddit.deto
Programming@programming.dev•Don't require people to change 'source code' to configure your programs
1·2 years agoYeah that occurred to me as well. Then I immediately think that maybe we need ☆one more language☆ to fix this. And then I remember that one xkcd comic…
maiskanzler@feddit.deto
Programming@programming.dev•Critical Rust flaw enables Windows command injection attacks
2·2 years agoAbsolutely true, it was more of a joke because Python is being used for pretty much anything today. I really don’t want to mess with correct indentation in my terminal.
maiskanzler@feddit.deto
Programming@programming.dev•Don't require people to change 'source code' to configure your programs
5·2 years agoThe line between configuration is very messy anyways. So many projects abuse YAML as a domain specific language. Looking at you, HomeAssistant and ESPHome!
maiskanzler@feddit.deto
linuxmemes@lemmy.world•Arch and Gentoo users reading about NixOS
2·2 years agoExactly. I’ve had 0 issues with it. Sadly they stopped development of their own password manager, so now I am using Bitwaren+Vaultwarden. The UI is better, but the app still feels cumbersome and slow, just like Mozilla’s experiment. For some reason Bitwarden is also really inconsistent & slow in when it shows the Autofill Popup on my keyboard.










Nice, thank you!