From 4cd9ccc50ee414fa413a23e7f8db89eb06129871 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 4 Sep 2012 16:09:16 +0000 Subject: Forward ports to arm1 and arm2 ssh, to access them from outside --- deployment/mga_buildsystem/manifests/mainnode.pp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'deployment') diff --git a/deployment/mga_buildsystem/manifests/mainnode.pp b/deployment/mga_buildsystem/manifests/mainnode.pp index a744f22a..3b2f35ee 100644 --- a/deployment/mga_buildsystem/manifests/mainnode.pp +++ b/deployment/mga_buildsystem/manifests/mainnode.pp @@ -5,4 +5,18 @@ class mga_buildsystem::mainnode { include buildsystem::maintdb include buildsystem::binrepo include buildsystem::repoctl + + # 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', + } } -- cgit v1.2.1