Update README.md

This commit is contained in:
David Rotermund 2024-07-13 15:57:36 +02:00 committed by GitHub
parent c207ceebaa
commit 1f74ac825a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,6 +25,10 @@ echo "}" >> /etc/docker/daemon.json
systemctl restart docker systemctl restart docker
sed -i -e 's/DEFAULT_FORWARD_POLICY="DROP"/DEFAULT_FORWARD_POLICY="ACCEPT"/g' /etc/default/ufw
ufw reload
iptables -t nat -A POSTROUTING ! -o docker0 -s 172.18.0.0/16 -j MASQUERADE
ufw allow in on docker0 ufw allow in on docker0
ufw route allow in on docker0 ufw route allow in on docker0
ufw route allow out on docker0 ufw route allow out on docker0