• 0 Posts
  • 28 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle







  • Set up wireguard in a docker container and then forward the port to wireguard, the default container on docker hub is fairly straightforward and you can always ask me for help if you need :).

    However, If you are using ipv4, you need to make sure that you’re not behind a CG-NAT (If you think you might be, call your ISP and tell them you have security cameras that need to get out or something like that).

    You could also try tailscale which is built using wireguard with nat-busting features and a bit easier to configure (I dont personally use it as wireguard is sufficient for me).

    After that Caddy + DNSMasq will simply allow you to map different URLs to IP addresses

    • dnsmasq
      • will let you map, E.g. my_computer -> 192.168.1.64
    • Caddy (Or nginx, but caddy is simpler)
      • will let you map to ports so e.g.:
        • with DNS (DNSMasq as above)
          • http://dokuwiki.my_computer -> http://my_computer:8080
        • Without DNS
          • http://dokuwiki.192.168.1.64 -> http://192.168.1.64:8080/

    Caddy and DNSmasq are superfluous, if you’ve got a good memory or bookmarks, you don’t really need them.

    VPN back into home is a lot more important. You definitely do not want to be forwarding ports to services you are running, because if you don’t know what you’re doing this could pose a network security risk.

    Use the VPN as the entry point, as it’s secure. I also recommend running the VPN in a docker / podman container on an old laptop dedicated just to that, simply to keep it as isolated as you can.

    Down the line you could also look into VLan If your router supports that.

    I personally would not bother with SSL If you’re just going to be providing access to trusted users who already have access to your home network.

    If you are looking to host things, just pay for a digital droplet for $7 a month, It’s much simpler, You still get to configure everything but you don’t expose your network to a security risk.




  • Hawk@lemmynsfw.comtoSelfhosted@lemmy.worldWhat do you use for notes?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    5 months ago

    Mobile offline sync is a lost cause. The dev environment, even on Android, is so hostile you’ll never get a good experience.

    Joplin comes close, but it’s still extremely unreliable and I’ve had many dropped notes. It also takes hours to sync a large corpus.

    I wrote my own web app using Axum and flask that I use. Check out dokuwiki as well.







    • Starting Strength book
      • The program is simplistic, dont follow all the advice in the book but the guidance around compound lifts is good
      • Follow that basic program for a month or two (Or ice cream fitness), depending on your level of fitness you might like PHAT or PHUL.
    • Couch to 5k
      • Once you Can run a 10K It’s simply a matter of determining what your goals are

    On the software side:

    • Fitnotes
      • Although it’s proprietary, it’s free and that allows you to export your data into SQLite. Any llm (even a local one) will cobble together a dashboard with plotly/jupyter or even PyQt without much pain
    • Waistline Is an application available on F-Droid, This is open source. So, send the developer a donation if you like it.