diff options
author | Devaev Maxim <[email protected]> | 2020-10-16 23:40:14 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-16 23:40:14 +0300 |
commit | bfe437e4059014d329804704dc2df940b09f8a97 (patch) | |
tree | e1dbb9de6f4001a87240487c63e8f84b99ba5c25 /kvmd/apps/__init__.py | |
parent | dd279e3a13a62de9a1372e7a29d1a2a7aed9643e (diff) |
allow icmp
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r-- | kvmd/apps/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py index 2e1cfc09..6d133ac9 100644 --- a/kvmd/apps/__init__.py +++ b/kvmd/apps/__init__.py @@ -447,7 +447,8 @@ def _get_config_scheme() -> Dict: }, "firewall": { - "allow_tcp": Option([], type=valid_ports_list), + "allow_icmp": Option(True, type=valid_bool), + "allow_tcp": Option([], type=valid_ports_list), "allow_udp": Option([67], type=valid_ports_list), "iptables_cmd": Option(["/usr/bin/iptables"], type=valid_command), }, |