summaryrefslogtreecommitdiffstats
path: root/server/lib
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib')
-rwxr-xr-x[-rw-r--r--]server/lib/security-config10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/lib/security-config b/server/lib/security-config
index e3087d5a..e2fb4593 100644..100755
--- a/server/lib/security-config
+++ b/server/lib/security-config
@@ -42,15 +42,15 @@ s.short = 'OpenGnsys Server'
s.name = 'ogAdmServer'
s.ports = [('2008', 'tcp')]
ios.service_writer(s, '/etc/firewalld/services')
-//s.short = 'OpenGnsys Repository'
-//s.name = 'ogAdmRepo'
-//s.ports = [('2002', 'tcp')]
-//ios.service_writer(s, '/etc/firewalld/services')"
+s.short = 'OpenGnsys Repository'
+s.name = 'ogAdmRepo'
+s.ports = [('2002', 'tcp')]
+ios.service_writer(s, '/etc/firewalld/services')"
# Adding active services.
firewall-cmd --permanent --add-service=dhcp
firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-service=mysql --zone internal
- #firewall-cmd --permanent --add-service=ogAdmRepo
+ firewall-cmd --permanent --add-service=ogAdmRepo
firewall-cmd --permanent --add-service=ogAdmServer
# Ubuntu 14.04 does not define "rsyncd" service.
firewall-cmd --permanent --add-service=rsyncd || \