As has been mentioned previously, we lurve us some Docker here at Discourse. We also lurve us some security, and I’ve recently been replacing our “artisinally handcrafted iptables firewall rules” with a Shorewall-managed configuration, which plays better with Puppet. Unfortunately, as it stands, like my twin three year olds, they don’t always play well. The…
오래된 스레드를 다시 꺼내서 죄송합니다. 하지만 이 내용 덕분에 제 스웜 서비스들이 shorewall과 함께 작동하게 되었으니, 다른 분들에게도 이 추가 노트가 유용할 수 있을 것 같습니다.
위 스크립트가 사용자의 필요에 따라 의도대로 작동할 수도, 아닐 수도 있습니다. 그 이유는 iptables -S를 실행하면 규칙들이 append 형식으로 반환되기 때문입니다. 제 shorewall 규칙처럼 비교적 공격적인 규칙을 사용하고 있다면, 단순한 append는 Docker 전용 iptables 체인에 도달하기 훨씬 전에 DROP이 발생하게 만들 가능성이 높습니다.