Search found 4 matches

by panomitrius
05 Feb 2022, 05:58
Forum: General Discussion (csf)
Topic: Docker, iptables and csf restarts
Replies: 4
Views: 6541

Re: Docker, iptables and csf restarts

This is pretty much the only hack I've manage to find anywhere that seems to solve the issue of having docker work with CSF without exposing all containers to global connections. Could you please describe how you went about to distill and save the iptables rules?
by panomitrius
10 Jan 2021, 08:40
Forum: General Discussion (csf)
Topic: CSF not working correctly with docker
Replies: 3
Views: 4392

Re: CSF not working correctly with docker

I found a solution, using this script: https://github.com/juli3nk/csf-post-docker, but modifying it and providing the full path to each iptables and docker command. Perhaps this could be integrated into the default CSF docker configuration?
by panomitrius
20 Dec 2020, 13:04
Forum: General Discussion (csf)
Topic: Podman (Docker replacement)
Replies: 2
Views: 1676

Re: Podman (Docker replacement)

I have been able to get it partly working using the below command but csf restart destroys the iptables podman creates. sudo iptables -I CNI-FORWARD -p tcp ! -i cni-podman0 -o cni-podman0 --jump LOCALINPUT This happens to me to, with a post script to run for configuring iptables for docker, after r...
by panomitrius
20 Dec 2020, 11:11
Forum: General Discussion (csf)
Topic: CSF not working correctly with docker
Replies: 3
Views: 4392

CSF not working correctly with docker

Hi! I've recently installed CSF on an Ubuntu server 20.04, where I also run a docker daemon. I've found that the standard docker-options in the configuration doesn't give my containers network access with adequate port forwarding. I've tried some workarounds, such as using putting service docker res...