mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Merge branch 'dev' of https://github.com/YunoHost/moulinette into dev
This commit is contained in:
commit
cc06d68871
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ def firewall_reload(upnp=False):
|
|||
os.system ("iptables -P INPUT ACCEPT")
|
||||
os.system ("iptables -F")
|
||||
os.system ("iptables -X")
|
||||
os.system ("iptables -A INPUT -m state --state ESTABLISHED -j ACCEPT")
|
||||
|
||||
if 22 not in firewall['ipv4']['TCP']:
|
||||
update_yml(22, 'TCP', 'a', False)
|
||||
|
|
Loading…
Reference in a new issue