diff --git a/yunohost_firewall.py b/yunohost_firewall.py index 2988c82b..6aa60064 100644 --- a/yunohost_firewall.py +++ b/yunohost_firewall.py @@ -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)