mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Restart fail2ban!
This commit is contained in:
parent
eb39a80db0
commit
b384a41b0e
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ def firewall_reload(upnp=False):
|
|||
|
||||
os.system ("iptables -P INPUT DROP")
|
||||
os.system ("ip6tables -P INPUT DROP")
|
||||
os.system("service fail2ban restart")
|
||||
|
||||
win_msg(_("Firewall successfully reloaded"))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue