Firewall script and fail2ban for docker environment.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
|
||||
# copy to /etc/systemd/system/
|
||||
[Unit]
|
||||
Description=Firewall Rules
|
||||
Requires=firewall-init.service
|
||||
After=firewall-init.service docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/etc/network/firewall/rules.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user