summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-16 23:40:14 +0300
committerDevaev Maxim <[email protected]>2020-10-16 23:40:14 +0300
commitbfe437e4059014d329804704dc2df940b09f8a97 (patch)
treee1dbb9de6f4001a87240487c63e8f84b99ba5c25 /kvmd/apps/__init__.py
parentdd279e3a13a62de9a1372e7a29d1a2a7aed9643e (diff)
allow icmp
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py3
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),
},