From: Peter Palfrader Date: Sat, 22 Dec 2018 15:35:01 +0000 (+0100) Subject: port 6081 is redirected X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e15a0448ceb332965f469910452465ba42c21d85;p=mirror%2Fdsa-puppet.git port 6081 is redirected --- diff --git a/modules/roles/manifests/snapshot_web.pp b/modules/roles/manifests/snapshot_web.pp index ba6c5d66a..aa17c97ba 100644 --- a/modules/roles/manifests/snapshot_web.pp +++ b/modules/roles/manifests/snapshot_web.pp @@ -58,7 +58,9 @@ class roles::snapshot_web { @ferm::rule { 'dsa-snapshot-connlimit': domain => '(ip ip6)', prio => "005", - rule => "proto tcp mod state state (NEW) daddr (${ipv4addr} ${ipv6addr}) mod multiport destination-ports (80 443 6081) mod connlimit connlimit-above 3 DROP", + rule => "proto tcp mod state state (NEW) daddr (${ipv4addr} ${ipv6addr}) mod multiport destination-ports (80 443) mod connlimit connlimit-above 3 DROP; + proto tcp mod state state (NEW) dport 6081 mod connlimit connlimit-above 3 DROP; + ", } # varnish cache