Newbie here. I run a server from home, and just installed docker to get some services going that aren’t available otherwise, or are a pita to set up outside docker (radarr, vaultwarden, etc).
My iptables firewall is highly locked down, but unfortunately docker seems to carry over ports opened for non-docker services. EG: ssh, various ports for owncloud, etc. These ports do not need to be available to the docker containers, and as I’m using the docker services from outside my network, I’d like to prevent some of the carried over ports from being exposed.
Let’s use ssh for instance. I’m not unfamiliar with iptables, so if anyone could help me figure out how to stop the ssh port from being carried over, but still open to the host server itself, I can work out the others.