NOTE:
The container must be launched with the NET_ADMIN capability in order to be able to install the iptable rules that actually ban IP addresses. Thus either include
--cap-add=NET_ADMIN
in the docker run commandline or the equivalent docker-compose.yml:
docker-compose.yml:
cap_add: - NET_ADMIN
NOTE:
透過這個 Fail2ban container 來保護整個 Host 的網路服務。
NOTE:
透過 Host 的 Fail2ban 保護所有 container 的對外網路服務
Images 0 | ||
---|---|---|
No images to display in the gallery. |