mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-12 00:06:09 +01:00
enable firewalld centos 8
This commit is contained in:
@@ -56,6 +56,8 @@ class FirewallUtilities:
|
||||
|
||||
@staticmethod
|
||||
def deleteRule(proto, port):
|
||||
print('Adding port: %s' % (port))
|
||||
|
||||
if port=="21":
|
||||
command = "sudo firewall-cmd --remove-service=ftp --permanent"
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user