CSF not working correctly with docker
Posted: 20 Dec 2020, 11:11
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 inside csfpost.sh. That's perhaps not that elegant but it works after a fresh enable or restart with CSF. However after a couple of hours CSF updates the rules and the docker containers looses their iptables rules again and get inaccessible. What could I do to work around this?
Perhaps setting the
FASTSTART = "0"?
I'll experiment a bit more with this later when I can monitor more carefully what the effects are.
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
Code: Select all
service docker restart
Perhaps setting the
FASTSTART = "0"?
I'll experiment a bit more with this later when I can monitor more carefully what the effects are.