u/lukmly013 💾 (lemmy.sdf.org)

I like computers, trains, space, radio-related everything and a bunch of other tech related stuff. User of GNU+Linux.
I am also dumb and worthless.
My laptop is ThinkPad L390y running Arch.
I own RTL-SDRv3 and RSP1 clone.

SDF Unix shell username: user224

  • 16 Posts
  • 316 Comments
Joined 3 years ago
cake
Cake day: June 17th, 2023

help-circle





  • Problem with plain Wireguard is if you can’t open ports on some devices to get a direct connection. It should be just fine with hub and spoke model, but NAT Traversal of Tailscale makes a huge difference. I can get a direct connection between 2 devices connected to mobile data and behind CG-NAT.
    And also the config management if you have too many devices.

    Hub and spoke, you just add new devices to Wireguard on the main device, and the new peer. Full mesh, oof.

    But as far as configuring Wireguard goes, that’s pretty simple. And then there’s the weird stuff with MTU and fragmentation… but that’s not something Wireguard-specific.
















  • Also a little fun thing about Navidrome, when checking the community packages entry: https://www.navidrome.org/docs/installation/packages/
    There’s a package for Termux, which is a terminal emulator for Android. Navidrome is in its official repo.

    So it’s pretty simple to run Navidrome directly on a phone too. I’ve been doing that for a while now. Also, Navidrome now finally has CLI user management.

    Not relevant, you can stop reading here.
    When I forgot my admin password in the past and I didn’t want to reset everything, I had to do a weird thing. I utilized the External Authentication (formerly called Reverse Proxy Authentication) to login into the admin account. I did so with proxy_set_header Remote-User "admin" in NGINX config (yes, still on a phone, in Termux) to get automatically logged in. But even then, I couldn’t change admin password without the old password… but I could change regular users’ and also create another admin account. So I did, removed the proxy auth, logged into admin2, changed admin to regular user, set the password, changed it back to admin and then from it deleted admin2.