Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)BI
Posts
6
Comments
22
Joined
6 mo. ago
Selfhosted @lemmy.world
bigdickdonkey @lemmy.ca

Need some advice on caddy + podman + preserving source IPs

Edit: If anyone comes across this post, use the built-in socket activation provided in caddy 2.9+ https://github.com/eriksjolund/podman-caddy-socket-activation/

I have rootless podman containers all connected a network with caddy that proxies them by their hostname. It seems that the default networking mode doesn't preserve the source ip and instead shows all traffic coming internally from 10.89.1.98. Preserving that ip requires pasta/slirp4netns which is incompatible with adding the container to a network. I've found a few solutions but I'm having trouble deciding what is the right way to move forward.

Using the host network or running caddy with host loopback abilites

Would require exposing all the ports on all my containers which means I would lost the ability to access containers by the DNS inside the podman network. I have a lot of containers and manually managing ports is not something I want to do again.

[socket activation + libsdsock with caddy](https://github.com/e

  • I’m using this right now but I’m switching to having all my services under one domain and blocking non internal ips. Technically someone can access your site by providing the host manually, althought it’s unlikely since they would need to know it

  • Linux Gaming @lemmy.ml
    bigdickdonkey @lemmy.ca

    High frame times after around 30 minutes in every game

    I play a few native games and ones using proton. After playing for about 30 minutes in any of them suddenly my frame times skyrocket from 6ms to ~60ms. Restarting the game always fixes this. Any ideas what to look for? nvtop seems to show normal usage and I don't see anything abnormal in journald.

    Some info about my setup: Arch/endeavourOS, KDE wayland, nvidia 3060ti with proprietary drivers, 3 monitors (1440 165hz, 1080 165hz, 1080 75hz). Games I play are CS2, Marvel Rivals, Overwatch 2, Lethal Company.

  • I just bind mount volumes I want to keep and use duplicati to backup the contents of my containers folder. Another idea if you are committed to docker volumes, is to also mount them to your backup solution.

  • Selfhosted @lemmy.world
    bigdickdonkey @lemmy.ca

    Why don't I show up in shodan?

    I noticed nothing I have setup shows up in shodan by ip or domain. I'm not complaining, I'd rather not have it show up but I'm curious why. Could it be because of hosting behind a reverse proxy?

  • Can you expand on why you chose uCore? I was considering CoreOS until just now and the idea of setting up ignition config serving seems overkill for running only one server at home. ignition is still required the same way as CoreOS

  • Selfhosted @lemmy.world
    bigdickdonkey @lemmy.ca

    Podman or rootless docker?

    I’m moving to a new machine soon and want to re-evaluate some security practices while I’m doing it. My current server is debian with all apps containerized in docker with root. I’d like to harden some stuff, especially vaultwarden but I’m concerned about transitioning to podman while using complex docker setups like nextcloud-aio. Do you have experience hardening your containers by switching? Is it worth it? How long is a piece of string?

    Trackers: ꜱʜᴀʀɪɴɢ ɪꜱ ᴄᴀʀɪɴɢ @lemmy.dbzer0.com
    bigdickdonkey @lemmy.ca

    Path to TVV?

    Nothing on the vinnie site. IIRC it has one or two sister sites?

    Programming @programming.dev
    bigdickdonkey @lemmy.ca