aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/nodes/alamut.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/nodes/alamut.pp')
-rw-r--r--manifests/nodes/alamut.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/nodes/alamut.pp b/manifests/nodes/alamut.pp
index ba7b54f7..344a3206 100644
--- a/manifests/nodes/alamut.pp
+++ b/manifests/nodes/alamut.pp
@@ -120,4 +120,18 @@ node alamut {
vhost => 'treasurer.mageia.org',
vhostdir => '/var/www/vhosts/treasurer.mageia.org',
}
+
+ # Forward ports to arm1 and arm2 ssh, to access them from outside
+ xinetd::port_forward {"forward_arm1":
+ target_ip => 'arm1.mageia.org',
+ target_port => '22',
+ port => '4251',
+ proto => 'tcp',
+ }
+ xinetd::port_forward {"forward_arm2":
+ target_ip => 'arm2.mageia.org',
+ target_port => '22',
+ port => '4252',
+ proto => 'tcp',
+ }
}