mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
delete the default iptable rule
This commit is contained in:
parent
e3d30c6be6
commit
66fe12910c
@ -533,6 +533,8 @@ class firewallConfigAgent(firewallConfigBase):
|
||||
self.ports = "22 16509 5900:6100 49152:49216".split()
|
||||
if syscfg.env.distribution.getVersion() == "CentOS":
|
||||
self.rules = ["-D FORWARD -j RH-Firewall-1-INPUT"]
|
||||
else:
|
||||
self.rules = ["-D FORWARD -j REJECT --reject-with icmp-host-prohibited"]
|
||||
|
||||
|
||||
class cloudAgentConfig(serviceCfgBase):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user