summaryrefslogtreecommitdiff
path: root/pcr/openrc-net/openvpn-2.1.conf
diff options
context:
space:
mode:
authorfreaj <freaj@riseup.net>2015-03-30 10:36:00 +0200
committerfreaj <freaj@riseup.net>2015-03-30 10:36:00 +0200
commit7385c6143c1b587bca68deade6e5989d11879767 (patch)
tree6ccef2617293e9afd03c80d5de22fd8f9c260c70 /pcr/openrc-net/openvpn-2.1.conf
parent41c9dc8729840f45f174a14a08703e04d1f5717e (diff)
openrc-net-20150330-1: updating version
Diffstat (limited to 'pcr/openrc-net/openvpn-2.1.conf')
-rw-r--r--pcr/openrc-net/openvpn-2.1.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/pcr/openrc-net/openvpn-2.1.conf b/pcr/openrc-net/openvpn-2.1.conf
new file mode 100644
index 000000000..72510c34a
--- /dev/null
+++ b/pcr/openrc-net/openvpn-2.1.conf
@@ -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"