summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-29 22:25:11 +0100
committervarac <varacanero@zeromail.org>2012-10-29 22:25:11 +0100
commit1f7dbac75c5c2a610ca4e6763109fd3e06c9072a (patch)
tree52a8cc729a2fae5b27fe55a913903dd5de276fd3 /puppet/modules/site_shorewall
parent1e3e9658a2309569e73d6bef72d441a6851d2653 (diff)
configure tcp masquerading
Diffstat (limited to 'puppet/modules/site_shorewall')
-rw-r--r--puppet/modules/site_shorewall/manifests/eip.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_shorewall/manifests/eip.pp b/puppet/modules/site_shorewall/manifests/eip.pp
index 230752dc..0849d711 100644
--- a/puppet/modules/site_shorewall/manifests/eip.pp
+++ b/puppet/modules/site_shorewall/manifests/eip.pp
@@ -37,9 +37,9 @@ PARAM - - udp 53,80,443,1194
interface => $interface; }
- shorewall::masq {"$interface":
+ shorewall::masq { $interface:
interface => $interface,
- source => ''; }
+ source => "$site_config::eip::openvpn_tcp_netmask.0/$site_config::eip::openvpn_tcp_cidr"; }
shorewall::policy {
'eip-to-all':