]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Removing unneeded masq entry
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 11 Aug 2011 19:19:16 +0000 (16:19 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 11 Aug 2011 19:19:16 +0000 (16:19 -0300)
manifests/subsystems/firewall/router.pp

index 3a22f41b13f9756b6bf9d51c8406d8d1010d5e91..43a5a97f78da50a217403092f44d27d3ba654154 100644 (file)
@@ -287,15 +287,6 @@ class firewall::router::hairpinning($order = '200', $proto = 'tcp', $port = 'www
                                     $external_ip = '$ETH0_IP', $interface = 'eth1',
                                     $destination = '192.168.1.100') {
   shorewall::masq { "routeback-$name":
-    interface => '$interface:$destination',
-    source    => '$interface',
-    address   => '192.168.1.1'
-    proto     => $proto,
-    port      => $port,
-    order     => $order,
-  }
-
-  shorewall::masq { "routeback-$name-real-ip":
     interface => '$interface:$destination',
     source    => '$interface',
     address   => $external_ip'