diff options
author | Julien Dessaux | 2018-04-18 14:47:53 +0200 |
---|---|---|
committer | Julien Dessaux | 2018-04-18 14:56:40 +0200 |
commit | dc8cd3ead3db601b093e65e8c2d668f9ce2498f4 (patch) | |
tree | 944aa067996c805c8ee61e4413b2fd6ce19d48c3 /templates/openvpn | |
parent | /etc/hosts IOU patch (diff) | |
download | masterfiles-dc8cd3ead3db601b093e65e8c2d668f9ce2498f4.tar.gz masterfiles-dc8cd3ead3db601b093e65e8c2d668f9ce2498f4.tar.bz2 masterfiles-dc8cd3ead3db601b093e65e8c2d668f9ce2498f4.zip |
Added openvpn ipv6 support
Diffstat (limited to 'templates/openvpn')
-rw-r--r-- | templates/openvpn/tunnel.conf.cftpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/openvpn/tunnel.conf.cftpl b/templates/openvpn/tunnel.conf.cftpl index 8c718f1..9d7607f 100644 --- a/templates/openvpn/tunnel.conf.cftpl +++ b/templates/openvpn/tunnel.conf.cftpl @@ -16,7 +16,10 @@ cipher AES-128-CBC secret /etc/openvpn/common.key ifconfig $(g.host_data[tunnels][$(openvpn_tunnel.tunnel)][ip]) $(g.host_data[tunnels][$(openvpn_tunnel.tunnel)][peer]) +[%CFEngine has_ipv6:: %] +ifconfig-ipv6 $(g.host_data[tunnels][$(openvpn_tunnel.tunnel)][ip6]) $(g.host_data[tunnels][$(openvpn_tunnel.tunnel)][peer6]) +[%CFEngine all:: %] user nobody [%CFEngine centos:: %] group nobody |