diff --git a/firewall/firewallManager.py b/firewall/firewallManager.py index 4c653604e..d4197bf5d 100755 --- a/firewall/firewallManager.py +++ b/firewall/firewallManager.py @@ -1476,7 +1476,7 @@ class FirewallManager: protocol = data['protocol'] ports = data['ports'] - portsPath = '/tmp/ports' + portsPath = '/home/cyberpanel/' + str(randint(1000, 9999)) if os.path.exists(portsPath): os.remove(portsPath)