docker-fw is a complementary tool for Docker to manage iptables-based custom firewall rules between/towards containers, persistence and two-ways links.
License: GNU General Public License v2.0
Go 99.11%Makefile 0.89%
docker-fw's Introduction
Hi ๐, I'm gdm85
Crafting code ๐ Sparking automation โท๏ธ
๐ญ Iโm currently working on DDD microservices
๐ฏ Iโm looking to collaborate on cool open source projects
I'll admit that my knowledge of how iptables works is a bit low, but essentially what I'd like to do is accept connections on a new port for a docker container that was not started with either -P or -p. Is it possible to use docker-fw to do that, and if so, how?
This is a question of a higher-level pattern. I understand docker-fw easily gives access to firewall configuration for ip+port+protocol, but what if I have a consul setup together with registrator and all containers are tagged with their respective services/roles? Is there an easy way to bind the real-time health checks of consul and registrator together with docker-fw to automatically add/remove firewall rules when containers are added and removed?