projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86cd514
)
nat to varnish on lw07
author
Peter Palfrader
<peter@palfrader.org>
Sun, 13 Jul 2014 19:21:29 +0000
(21:21 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 13 Jul 2014 19:21:29 +0000
(21:21 +0200)
modules/ferm/manifests/per-host.pp
patch
|
blob
|
history
diff --git
a/modules/ferm/manifests/per-host.pp
b/modules/ferm/manifests/per-host.pp
index
9bd477c
..
b96c021
100644
(file)
--- a/
modules/ferm/manifests/per-host.pp
+++ b/
modules/ferm/manifests/per-host.pp
@@
-193,6
+193,16
@@
class ferm::per-host {
rule => 'proto tcp daddr 185.17.185.182 dport 80 REDIRECT to-ports 6081',
}
}
+ lw07: {
+ @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.185 dport 80 REDIRECT to-ports 6081',
+ }
+ }
default: {}
}
case $::hostname {