From d86ab1f83be4574658cb4543e34093ace85e36a3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 8 Jun 2012 09:57:12 -0300 Subject: Adding gobby server routing for vservers --- manifests/subsystems/firewall/vserver.pp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'manifests/subsystems') diff --git a/manifests/subsystems/firewall/vserver.pp b/manifests/subsystems/firewall/vserver.pp index 30f3c39..fe96c40 100644 --- a/manifests/subsystems/firewall/vserver.pp +++ b/manifests/subsystems/firewall/vserver.pp @@ -453,3 +453,15 @@ class firewall::vserver::mumble($destination, $zone = 'fw') { order => '2301', } } + +class firewall::vserver::gobby($destination, $zone = 'fw') { + shorewall::rule { 'gobby-0': + action => 'DNAT', + source => 'net', + destination => "$zone:$destination:6523", + proto => 'tcp', + destinationport => '6523', + ratelimit => '-', + order => '2400', + } +} -- cgit v1.2.3