summaryrefslogtreecommitdiffstats
path: root/server/lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2016-06-08 07:32:02 +0000
committerramon <ramongomez@us.es>2016-06-08 07:32:02 +0000
commitb73502c11a4029a23f30e29cc5090a76f787a224 (patch)
tree1c3ecc966134382a6153d87aecd8aff266d3f3bf /server/lib
parent30afd953f50530f770fec42d0cdf55f75f36ba8a (diff)
#736: Volver a habilitar servicio ogAdmRepo en cortafuegos y propiedad de ejecutable para script de configuraciĆ³n de seguridad.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4958 a21b9725-9963-47de-94b9-378ad31fedc9
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 || \