From b3b81b8c7700d5680372a5ebcdcde9a5b255d52e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Mon, 2 Jun 2014 20:41:10 +0200 Subject: [PATCH] varnish rule for lw05 --- modules/ferm/manifests/per-host.pp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index eaf789013..3df1beeed 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -179,6 +179,16 @@ class ferm::per-host { rule => 'proto tcp daddr 206.12.19.150 dport 80 REDIRECT to-ports 6081', } } + lw05: { + @ferm::rule { 'dsa-snapshot-varnish': + rule => '&SERVICE(tcp, 6081)', + } + @ferm::rule { 'dsa-nat-snapshot-varnish': + table => 'nat', + chain => 'PREROUTING', + rule => 'proto tcp daddr 185.17.185.181 dport 80 REDIRECT to-ports 6081', + } + } default: {} } case $::hostname { -- 2.20.1