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
- 2 Posts
- 69 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
Selfhosted@lemmy.world•Light system monitor service with Home Assistant integrationEnglish
2·2 years agoThere’s prometheus node exporter which can collect such data from several hosts. You can hook it up with Grafana for neat dashboards and I’m almost sure it also integrates with Homeassistant.
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.
maiskanzler@feddit.deto
Selfhosted@lemmy.world•My Overconfidence Killed Me and My Immich InstallationEnglish
6·2 years agoWhat? I’ve never had the feeling that nextcloud assumes that. Are you using a special all-in-one docker image? Because I am using the regular one and pair it with db, redis etc. containers and am absolutely happy with it.
Your btrfs snapshots are possibly counted separately by all the regular tools. They simply go into every directory they can find and add up the size of the files they see. They do not care if they are looking at an identical snapshot of the folder next to them, they simply add it all up.
Use
sudo btrfs filesystem show(and maybe add a path behind it, I am not sure). That will give you the true usage.
That site is a gold mine!
maiskanzler@feddit.deto
Selfhosted@lemmy.world•Offline alternatives to Roku / Streaming boxesEnglish
7·2 years agoMaybe get a reputable one, the other ones are sadly malware infected in way to many cases. It’s a way for the manufacturer to make an extra buck from the sale.
maiskanzler@feddit.deto
Selfhosted@lemmy.world•What do I need to separate devices to its own no-internet network and still be able to communicate with within the house and outside? (Diagram provided)English
132·2 years agoIf you have an AVM Fritz!Box home router you can simply create a new profile that disallows internet access and set the devices you want to “isolate” to that profile. They will be able to access the local network and be accessed by the local network just fine, but they won’t have any outgoing (or incoming) connectivity.
maiskanzler@feddit.deto
Technology@beehaw.org•Android users who have a keen eye for design and detail, how is the whole stutter/lag situation? Esp. after a few years of use?
9·2 years agoI’ve always been on android, so take this with a grain of salt. In my opinion Samsung phones have come a very long way. They used to be slower and bloated in comparison to other brands, especially while the market was still moving fast. I used to have a Sony, a ZTE, a Motorola, an Umi and a Jiayu - I tried quite a few over the years.
The recent generation are all fast enough and performance wise last 4+ years before they get noticably slow and an upgrade becomes necessary. Software support on Samsung is now phenomenal. I had so many bugs and hitches on other vendors’ phones and they were rarely fixed - the absolute opposite has been the experience on my Samsungs. Updates are frequent, smooth and stable.
I know this reads like an ad, but I was honestly positively suprised after I bought a Samsung tablet a few years back and have slowly switched over to Samsung devices. The same happened with all other members of my family. Samsung simply won.
I suppose the iPhone is very similar in that regard, both simply work and are great for everyday use. It’s almost boring!
I do advice you to look at the upper end though, they simply have more performance reserves. If you are a display menace and battery destroyer though, you won’t notice any significant slow down from the cheaper range in the 2 to 3 years you have before it becomes uneconomical to repair the device anyways.
maiskanzler@feddit.deto
Selfhosted@lemmy.world•Using Termux on Android for Self Hosting? Yes, really. – The Thin ComputerEnglish
7·2 years agoIf only modern kernels weren’t a problem. I wish you could just install new OSs like on PC.
maiskanzler@feddit.deto
Selfhosted@lemmy.world•Backblaze B2 vs other storage providers to store legally ripped mediaEnglish
1·2 years agoI’ve used restic before and it worked great with OVH’s object storage. Moved away from cloud backups because of the cost though.
maiskanzler@feddit.deto
Selfhosted@lemmy.world•Backblaze B2 vs other storage providers to store legally ripped mediaEnglish
3·2 years agoYeah, has anyone ever actually tried restoring from then? I only remember one disgruntled redditor posting about it, but that’s about it.


Nice, thank you!