aboutsummaryrefslogtreecommitdiffstats
path: root/main/openvpn/openvpn.confd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-06-04 14:33:13 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-06-04 14:41:13 +0000
commitf80c232c3e5f32cd904117a1d91273b8887d17e2 (patch)
tree19d79f1a862aae8d76e7ed348ac26bec241ec4b3 /main/openvpn/openvpn.confd
parent21bbd56f158e6be27059a8543aa133fbb50bf047 (diff)
downloadaports-f80c232c3e5f32cd904117a1d91273b8887d17e2.tar.bz2
aports-f80c232c3e5f32cd904117a1d91273b8887d17e2.tar.xz
main/openvpn: multiple changes like ipv6 and new initd
added ipv6 patch from: http://www.greenie.net/ipv6/openvpn.html move easy-rsa into subpkg and depend on openssl update init.d and conf.d from latest gentoo release added up/down scripts from latest gentoo release ref #618
Diffstat (limited to 'main/openvpn/openvpn.confd')
-rw-r--r--main/openvpn/openvpn.confd18
1 files changed, 18 insertions, 0 deletions
diff --git a/main/openvpn/openvpn.confd b/main/openvpn/openvpn.confd
new file mode 100644
index 0000000000..72510c34ae
--- /dev/null
+++ b/main/openvpn/openvpn.confd
@@ -0,0 +1,18 @@
+# OpenVPN automatically creates an /etc/resolv.conf (or sends it to
+# resolvconf) if given DNS information by the OpenVPN server.
+# Set PEER_DNS="no" to stop this.
+PEER_DNS="yes"
+
+# OpenVPN can run in many modes. Most people will want the init script
+# to automatically detect the mode and try and apply a good default
+# configuration and setup scripts. However, there are cases where the
+# OpenVPN configuration looks like a client, but it's really a peer or
+# something else. DETECT_CLIENT controls this behaviour.
+DETECT_CLIENT="yes"
+
+# If DETECT_CLIENT is no and you have your own scripts to re-enter the openvpn
+# init script (ie, it first becomes "inactive" and the script then starts the
+# script again to make it "started") then you can state this below.
+# In other words, unless you understand service dependencies and are a
+# competent shell scripter, don't set this.
+RE_ENTER="no"