aboutsummaryrefslogtreecommitdiffstats
path: root/net-vpn/openvpn-nl/files/openvpn-nl.conf
diff options
context:
space:
mode:
authorPA4WDH2021-07-21 11:13:08 +0200
committerPA4WDH2021-07-21 11:13:08 +0200
commit78bc7df2f58c6b4dc88dd44fea373db80014a8e6 (patch)
tree6b4918e43a091fc0f00b7f401ca8810583425416 /net-vpn/openvpn-nl/files/openvpn-nl.conf
downloadopenvpn-nl-78bc7df2f58c6b4dc88dd44fea373db80014a8e6.tar.gz
openvpn-nl-78bc7df2f58c6b4dc88dd44fea373db80014a8e6.tar.bz2
openvpn-nl-78bc7df2f58c6b4dc88dd44fea373db80014a8e6.zip
Initial commit
Diffstat (limited to 'net-vpn/openvpn-nl/files/openvpn-nl.conf')
-rw-r--r--net-vpn/openvpn-nl/files/openvpn-nl.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-vpn/openvpn-nl/files/openvpn-nl.conf b/net-vpn/openvpn-nl/files/openvpn-nl.conf
new file mode 100644
index 0000000..b928895
--- /dev/null
+++ b/net-vpn/openvpn-nl/files/openvpn-nl.conf
@@ -0,0 +1,18 @@
+# OpenVPN-NL 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-NL 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"