summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-08 23:53:18 +0200
committervarac <varacanero@zeromail.org>2012-10-08 23:53:18 +0200
commit912d7103855ba674255d2dbeda87ab358388ecc0 (patch)
treec10e6fd9ea78c0fcc0abd6a2e045a0a9ef6b0eec
parentcf2f7703b615dd4568beeebea59f514a20cf169a (diff)
cleaned eip.pp, added second main if
-rw-r--r--puppet/modules/site_shorewall/manifests/eip.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/puppet/modules/site_shorewall/manifests/eip.pp b/puppet/modules/site_shorewall/manifests/eip.pp
index a4d1231d..80119ee8 100644
--- a/puppet/modules/site_shorewall/manifests/eip.pp
+++ b/puppet/modules/site_shorewall/manifests/eip.pp
@@ -5,13 +5,16 @@ class site_shorewall::eip {
include site_shorewall::defaults
+ shorewall::interface {'eth0:1':
+ zone => 'net',
+ options => 'tcpflags,blacklist,nosmurfs'; }
shorewall::interface {'tun0':
zone => 'eip',
- rfc1918 => $shorewall_rfc1918_maineth,
+ rfc1918 => true,
options => 'tcpflags,blacklist,nosmurfs'; }
shorewall::interface {'tun1':
zone => 'eip',
- rfc1918 => $shorewall_rfc1918_maineth,
+ rfc1918 => true,
options => 'tcpflags,blacklist,nosmurfs'; }
shorewall::zone {'eip':