(no title)
fletchowns | 4 months ago
There are so many tutorials out there for things like Docker Compose that cause people to bind a service to 0.0.0.0 with a port open to the public internet.
fletchowns | 4 months ago
There are so many tutorials out there for things like Docker Compose that cause people to bind a service to 0.0.0.0 with a port open to the public internet.
c0balt|4 months ago
It also likely has yielded far too many (unintentionally) open services, especially considering dockers known firewall woes with bypassing of existing rules.
sureglymop|4 months ago
However, can't you just use e.g. `-p 127.0.0.1:8000:80` since you're aware of the issue? Pretty sure both the CLI and compose support this.
What I do is to only use rootless docker/podman and then forward the ports with nftables rules.
vindex10|4 months ago
``` ssh -L [<local>:]8000:remote:8000 hopping ```
cozzyd|4 months ago
miohtama|4 months ago