mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
allow icmp
This commit is contained in:
@@ -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),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user