https://github.com/stefanpejcic/csfpost-docker.sh
Make 🐳 Docker play nice with 🧱 ConfigServer Firewall
https://github.com/stefanpejcic/csfpost-docker.sh
configserver-firewall csf docker firewall iptables iptables-rules
Last synced: 14 days ago
JSON representation
Make 🐳 Docker play nice with 🧱 ConfigServer Firewall
- Host: GitHub
- URL: https://github.com/stefanpejcic/csfpost-docker.sh
- Owner: stefanpejcic
- Created: 2024-06-11T22:16:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-28T18:14:41.000Z (over 1 year ago)
- Last Synced: 2025-02-28T22:28:46.945Z (over 1 year ago)
- Topics: configserver-firewall, csf, docker, firewall, iptables, iptables-rules
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# csfpost-docker.sh
Make 🐳 Docker play nice with 🧱ConfigServer Firewall
Since both Docker an CSF edit iptables, ports exposed by docker endup accessible even if not opened in csf!
This is my take to make Docker play nice with CSF by:
- disabling Docker management of iptables
- adding csf post script to allow networking for containers
- manually open needed ports on csf
## Installation
It can be used as a standalone script by runnning:
```
```
or as a drop-in replacement for UFW on [OpenPanel](https://openpanel.co) servers.
```
```