diff options
author | varac <varacanero@zeromail.org> | 2012-10-29 22:46:04 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-10-29 22:46:04 +0100 |
commit | 0d89ea18da5dd520bf71df42e15b813b706e2189 (patch) | |
tree | 89397e791c5f955fd306fd34ba5fd2ab2815243f | |
parent | 1f7dbac75c5c2a610ca4e6763109fd3e06c9072a (diff) |
configure tcp+udp masquerading
-rw-r--r-- | puppet/modules/site_shorewall/manifests/eip.pp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/puppet/modules/site_shorewall/manifests/eip.pp b/puppet/modules/site_shorewall/manifests/eip.pp index 0849d711..5105b85a 100644 --- a/puppet/modules/site_shorewall/manifests/eip.pp +++ b/puppet/modules/site_shorewall/manifests/eip.pp @@ -39,7 +39,11 @@ PARAM - - udp 53,80,443,1194 shorewall::masq { $interface: interface => $interface, - source => "$site_config::eip::openvpn_tcp_netmask.0/$site_config::eip::openvpn_tcp_cidr"; } + source => "$site_config::eip::openvpn_tcp_network_prefix.0/$site_config::eip::openvpn_tcp_cidr"; } + + shorewall::masq { $interface: + interface => $interface, + source => "$site_config::eip::openvpn_udp_network_prefix.0/$site_config::eip::openvpn_udp_cidr"; } shorewall::policy { 'eip-to-all': |