A wrapper on top of Iptables to manage rules to block docker.
To use docker-firewall
you need to create the folder /etc/docker-firewall
, and create the file config.yml
. There is a sample confguration file on example-config.yml.
It is possible to allow access from:
- interface such as
docker0
anddocker_gwbridge
- interface:
- docker0
- docker_gwbridge
- based on port
- port: 5601
- based on IP and port
- allow:
- 192.168.1.15
- 192.168.2.15
- 192.168.3.15
- 192.168.4.15
port: 3000
- based on IP, protocol and port
- allow:
- 10.0.1.15
- 10.1.0.25
protocol: tcp
port: 9100
- Automate release process
- Validate config file and output if there is errors.
- Allow IP range