• 1 Post
  • 177 Comments
Joined 2 years ago
cake
Cake day: June 30th, 2023

help-circle
  • There are multiple reasons but the most important one is: You didn’t enable it.

    Caddy fully supports https to the reverse proxy targets, though you’d have to get those targets trusted certificates otherwise caddy wouldn’t connect.

    The default protocol for backends is http, most of the time this isn’t a problem because:

    • The web server runs on the local machine
    • The web server runs in containers/vms on the local machine
      • or is running in a VM and has a direct virtual connection with the caddy vm
    • The connection to the Backend is encrypted with a VPN
    • Caddy and the web server are directly connected or connected through an otherwise isolated network

    Because https requires certificates that are somewhat difficult to set up for internal servers (and were even harder to get before) the default mostly is just to encrypt on another layer of the stack. Afaik at least.













  • I agree with in-app backup solution.

    There are three types of apps on my phone:

    • Apps that don’t have any important local data (calculator, calendar (synced with web(cal/DAV/…), etc) for which a basic apk backup is enough and doesn’t cause any data corruption.
    • Apps that have changing important data and implement backups (WhatsApp, signal)
    • Apps that have important data, but that data is static (voyager, Mixplorer) in which I export the data once using in-app settings

    Photos are backed up using immich, internal storage is backed up using restic in termux, started automatically from tasker.

    This whole setup doesn’t require root btw, with root you can also backup system settings. The only thing I’d want to improve is not having to login to all the apps again but I had to do that even with root backups in the past so I’ll have to wait until google finally stops trying to force everyone into their shitty cloud backups. (Tough chance that…)


  • I have used Neo Backup before, worked well enough.

    Never heard of DataBackup before but their github page doesn’t convince me:

    Features

    • 🌳 Root needed, support Magisk, KernelSU, APatch

    • 🌀 Multi-user Support

    • ☁️ Cloud

    • 😎 100% Data Integrity

    • Fast

    • ☀️ Easy

    • 🌹

    1 isn’t a feature 3 doesn’t tell me much of anything 3 is a lie and not even logically sound (not even google has 100% data integrity guarantee but this project has?) 4 is barely a feature and missing context or benchmarks 5 easy isn’t a feature 6 what?

    Their website and app store pages also have very little content. Meanwhile Neo Backup has tons of docs, infos and I’ve seen more people use it.

    Tldr: Use NeoBackup


  • is kludging NAT for IPv6 not a better solution versus ULA addresses?

    There are very few hosts that allow only ipv6 (though there are many who only do ipv4). Ipv6 would improve internet stability and long-term communication when you’re not using a nat but that isn’t what you’re trying to build. Seeing as you’re not getting any advantage anyway I recommend ULA because it won’t get in the way of possible future migration to GUA ipv6 (globally unicast address) and still run over the ipv6 network while also avoiding Nat.

    Or is the clear answer just use IPv6 as intended and let the devices handle their privacy with IPv6 privacy extensions?

    It’s my clear answer at least.

    If you don’t want that you can use ULA addresses for now and later add GUA ipv6 addresses. ULAs are meant to be used when you only have a dynamic ipv6 prefix so that internal devices can have ipv6 internet (GUA) while also having a static ipv6 address(ULA).


  • Use ULA addresses for hosts inside your LAN, they are static, cannot be used to reach outside your LAN and use IPv6. Then give your server/VPN endpoint a real ipv6, that’s your VPN endpoint. This doesn’t require any nat and can be easily changed to GUA when you want to.

    CGnat is a “solution” for running out of ipv4 addresses, it has the same problems as any other nat but the problems are even more noticeable because the out-facing ipv4 address changes more often than the typical home nat configuration and tricks like FTP- and other helpers don’t work as well.

    Ipv6 would not only avoid the issues of cgnat, it would avoid cgnat entirely because you don’t need to Nat when you have enough ips.