summaryrefslogtreecommitdiff
path: root/openvpn.confd
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2019-01-27 23:32:42 -0800
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2019-01-27 23:32:42 -0800
commit6f4508ab01a500e036a0fd6d208605f2fc68df68 (patch)
tree180072eda0a4d1d9a78e87fde002e6c046c0b009 /openvpn.confd
parentbackup function doesn't like aliases (diff)
downloadopenvpn-openrc-6f4508ab01a500e036a0fd6d208605f2fc68df68.tar.xz
Use stock init and conf | Simplify PKGBUILD
Diffstat (limited to 'openvpn.confd')
-rw-r--r--openvpn.confd6
1 files changed, 2 insertions, 4 deletions
diff --git a/openvpn.confd b/openvpn.confd
index f4cefeb..72510c3 100644
--- a/openvpn.confd
+++ b/openvpn.confd
@@ -1,14 +1,14 @@
# 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="no"
+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="no"
+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
@@ -16,5 +16,3 @@ DETECT_CLIENT="no"
# In other words, unless you understand service dependencies and are a
# competent shell scripter, don't set this.
RE_ENTER="no"
-
-VPN=""