summaryrefslogtreecommitdiff
path: root/puppet/modules/site_openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/site_openvpn')
-rw-r--r--puppet/modules/site_openvpn/manifests/server_config.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/site_openvpn/manifests/server_config.pp b/puppet/modules/site_openvpn/manifests/server_config.pp
index 3e0ee1a6..cbc5f68e 100644
--- a/puppet/modules/site_openvpn/manifests/server_config.pp
+++ b/puppet/modules/site_openvpn/manifests/server_config.pp
@@ -111,6 +111,9 @@ define site_openvpn::server_config(
key => 'dev',
value => 'tun',
server => $openvpn_configname;
+ "tun-ipv6 ${openvpn_configname}":
+ key => 'tun-ipv6',
+ server => $openvpn_configname;
"duplicate-cn ${openvpn_configname}":
key => 'duplicate-cn',
server => $openvpn_configname;
@@ -145,6 +148,10 @@ define site_openvpn::server_config(
key => 'push',
value => '"redirect-gateway def1"',
server => $openvpn_configname;
+ "push-ipv6 ${openvpn_configname}":
+ key => 'push',
+ value => '"route-ipv6 2000::/3"',
+ server => $openvpn_configname;
"script-security ${openvpn_configname}":
key => 'script-security',
value => '2',
@@ -153,6 +160,10 @@ define site_openvpn::server_config(
key => 'server',
value => $server,
server => $openvpn_configname;
+ "server-ipv6 ${openvpn_configname}":
+ key => 'server-ipv6',
+ value => '2001:db8:123::/64',
+ server => $openvpn_configname;
"status ${openvpn_configname}":
key => 'status',
value => '/var/run/openvpn-status 10',