From bfe437e4059014d329804704dc2df940b09f8a97 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 16 Oct 2020 23:40:14 +0300 Subject: allow icmp --- kvmd/apps/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kvmd/apps/__init__.py') 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), }, -- cgit v1.2.3