Docker Ufw

Docker Firewall deaktivieren

nano /etc/docker/daemon.josn
{
    "iptables": false
}

UFW Forward aktivieren

nano /etc/default/ufw
DEFAULT_FORWARD_POLICY="ACCEPT"
nano /etc/ufw/after.rules

Postrouting setzen

*nat
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING ! -o docker0 -s 172.17.0.0/16 -j MASQUERADE
COMMIT