Commit 4cfd34
2024-12-17 19:22:26 Steven Anderson: Iptables deleted.| ScriptFu/docker/iptables.md .. /dev/null | |
| @@ 1,7 0,0 @@ | |
| - | # Iptables |
| - | |
| - | #### Block Outside Access to Docker But Allow localhost |
| - | Without the `-m state` rule above the `DROP` rule, outside access is blocked, but traffic initiated from docker won't return. |
| - | |
| - | -A DOCKER-USER -m state --state RELATED,ESTABLISHED -j ACCEPT |
| - | -A DOCKER-USER ! -s 127.0.0.1/32 -i eth0 -j DROP |