summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_config/manifests/eip.pp22
1 files changed, 12 insertions, 10 deletions
diff --git a/puppet/modules/site_config/manifests/eip.pp b/puppet/modules/site_config/manifests/eip.pp
index e6f80d25..9f1c205c 100644
--- a/puppet/modules/site_config/manifests/eip.pp
+++ b/puppet/modules/site_config/manifests/eip.pp
@@ -9,17 +9,19 @@ class site_config::eip {
#create_resources('site_openvpn::server_config', $openvpn_configs)
site_openvpn::server_config { 'tcp_config':
- port => '1194',
- proto => 'tcp',
- local => $::ipaddress_eth0_1,
- server => '10.42.0.0 255.255.248.0',
- push => '"dhcp-option DNS 10.42.0.1"',
+ port => '1194',
+ proto => 'tcp',
+ local => $::ipaddress_eth0_1,
+ server => '10.1.0.0 255.255.248.0',
+ push => '"dhcp-option DNS 10.1.0.1"',
+ management => 'management 127.0.0.1 1000'
}
site_openvpn::server_config { 'udp_config':
- port => '1194',
- proto => 'udp',
- local => $::ipaddress_eth0_1,
- server => '10.43.0.0 255.255.248.0',
- push => '"dhcp-option DNS 10.43.0.1"',
+ port => '1194',
+ proto => 'udp',
+ local => $::ipaddress_eth0_1,
+ server => '10.2.0.0 255.255.248.0',
+ push => '"dhcp-option DNS 10.2.0.1"',
+ management => 'management 127.0.0.1 1001'
}
}