X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fferm%2Fmanifests%2Fper-host.pp;h=dc8dfbd8324186e901dfbd2f28bdd9efb15e63c4;hb=9f03464fb4e359654ad10961d1d26da53efef600;hp=5357068e25d26c9ca2b201b26de7f5e90e257ffc;hpb=e866a31e5ba1f68aeac0473f902383090aab93de;p=mirror%2Fdsa-puppet.git diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index 5357068e2..dc8dfbd83 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -87,11 +87,11 @@ class ferm::per-host { } } draghi: { - @ferm::rule { "dsa-bind": - domain => "(ip ip6)", - description => "Allow nameserver access", - rule => "&TCP_UDP_SERVICE(53)" - } + #@ferm::rule { "dsa-bind": + # domain => "(ip ip6)", + # description => "Allow nameserver access", + # rule => "&TCP_UDP_SERVICE(53)" + #} @ferm::rule { "dsa-finger": domain => "(ip ip6)", description => "Allow finger access", @@ -111,7 +111,7 @@ class ferm::per-host { cilea: { file { "/etc/ferm/conf.d/load_sip_conntrack.conf": - source => "puppet:///ferm/conntrack_sip.conf", + source => "puppet:///modules/ferm/conntrack_sip.conf", require => Package["ferm"], notify => Exec["ferm restart"]; } @@ -208,6 +208,16 @@ class ferm::per-host { rule => 'proto tcp daddr 193.62.202.28 dport 80 REDIRECT to-ports 6081', } } + stabile: { + @ferm::rule { "dsa-snapshot-varnish": + rule => '&SERVICE(tcp, 6081)', + } + @ferm::rule { "dsa-nat-snapshot-varnish": + table => 'nat', + chain => 'PREROUTING', + rule => 'proto tcp daddr 206.12.19.150 dport 80 REDIRECT to-ports 6081', + } + } } }