herrfrutti

joined 1 year ago
[–] herrfrutti@lemmy.world 7 points 1 week ago

Yeah, I did not know it is that bad....

[–] herrfrutti@lemmy.world 1 points 1 week ago

You don't want the nextcloud to be public for everyone, then I'd go the tailscale route without a vps. Just connect your Server and phone.

If you want it to be public, then I'd still use tailscale and do it like the other comment suggested.

Reverse Proxy on vps connected to tailscale, proxzies the traffic through the tailnet to your server. That's what I'm doing btw.

[–] herrfrutti@lemmy.world 16 points 1 month ago (1 children)

Alles gute!πŸ”₯

Danke fΓΌr πŸ₯—πŸ΅, sehr lecker.

[–] herrfrutti@lemmy.world 2 points 4 months ago* (last edited 4 months ago)

I recommend this: https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#method-1-give-your-user-permissions-on-every-reboot

with that and also read the tipp after that I was troubleshooting my permission issues.

This should apply to gpu too.

[–] herrfrutti@lemmy.world 1 points 4 months ago (1 children)

But does this matter if you just want this to be locally accessible and you're running your own dns?

[–] herrfrutti@lemmy.world 5 points 4 months ago (6 children)

You need a wildcard cert for ypur subdoman:

*.legal.example.com

Then point that record to 127.0.0.0. This will not resolve for anyone. But you'll have an internal dns enty (useig pihole/adguard/unbound) that redirects to your reverse proxy.

You could also point to your revers proxy internal address instead of 127.0.0.0.

This video could help you: https://www.youtube.com/watch?v=qlcVx-k-02E

[–] herrfrutti@lemmy.world 2 points 5 months ago (2 children)

Sorry I have no idea how traefik works, but I've seen that this new video ist out. It might help you.

https://youtu.be/n1vOfdz5Nm8

[–] herrfrutti@lemmy.world 1 points 5 months ago

Yes... That is also my understanding.

[–] herrfrutti@lemmy.world 2 points 5 months ago (2 children)

I do. If you run caddy with network_mode: hostor better with network_mode: "slirp4netns:port_handler=slirp4netns" it should work.

also adding:

cap_add:
      - net_admin
      - net_raw
[–] herrfrutti@lemmy.world 2 points 5 months ago (4 children)

Podman + Caddy does it for me.

You need to adjust the "minimum" port a user can bind. Podman tells you how to do it (or a quick google search).

[–] herrfrutti@lemmy.world 3 points 5 months ago (1 children)

I played with this problem too. In my case I wanted a zigbee usb to be passed through. I'm not sure if this procedure works with gpu though...

This was also needed to make it work: https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#method-1-give-your-user-permissions-on-every-reboot

devices:
      # Make sure this matched your adapter location
      - "/dev/ttyUSB.zigbee-usb:/dev/ttyACM0:rwm"

Also I passed my gpu to immich. But not 100% sure it is working. I've added my user to the render group and passed the gpu like the usb zigbee stick:

devices:
      - "/dev/dri:/dev/dri:rwm"  # If using Intel QuickSync

The immich image main user is root if imI remember correctly and all permissions that my podman user 1000 has are granted to the root user inside the container (at least this is how I understand it...)

For testing I used this: https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#verify-that-the-user-you-run-zigbee2mqtt-as-has-write-access-to-the-port It should be working with gpu too.

I can test stuff later on my server, if you need more help!

Hope this all makes sense πŸ˜… please correct me if anything is wrong!

 
 

Our lovely Cosmo πŸ€—

 

One of my cats

view more: next β€Ί