From dc8cd3ead3db601b093e65e8c2d668f9ce2498f4 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 18 Apr 2018 14:47:53 +0200 Subject: Added openvpn ipv6 support --- templates/openvpn/tunnel.conf.cftpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/openvpn/tunnel.conf.cftpl') 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 -- cgit v1.2.3