summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorJulien Dessaux2018-04-18 14:47:53 +0200
committerJulien Dessaux2018-04-18 14:56:40 +0200
commitdc8cd3ead3db601b093e65e8c2d668f9ce2498f4 (patch)
tree944aa067996c805c8ee61e4413b2fd6ce19d48c3 /services
parent/etc/hosts IOU patch (diff)
downloadmasterfiles-dc8cd3ead3db601b093e65e8c2d668f9ce2498f4.tar.gz
masterfiles-dc8cd3ead3db601b093e65e8c2d668f9ce2498f4.tar.bz2
masterfiles-dc8cd3ead3db601b093e65e8c2d668f9ce2498f4.zip
Added openvpn ipv6 support
Diffstat (limited to 'services')
-rw-r--r--services/applications/openvpn.cf1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/applications/openvpn.cf b/services/applications/openvpn.cf
index c76c18d..437e00b 100644
--- a/services/applications/openvpn.cf
+++ b/services/applications/openvpn.cf
@@ -34,6 +34,7 @@ bundle agent openvpn_tunnel(tunnel)
classes:
any::
"has_remote" and => { isvariable("g.host_data[tunnels][$(tunnel)][remote_host]"), isvariable("g.host_data[tunnels][$(tunnel)][remote_port]") };
+ "has_ipv6" and => { isvariable("g.host_data[tunnels][$(tunnel)][ip6]"), isvariable("g.host_data[tunnels][$(tunnel)][peer6]") };
files:
any::
"/etc/openvpn/$(tunnel).conf"