wok annotate openvpn/stuff/etc/openvpn/openvpn.conf @ rev 16412
Up: openvpn (2.3.3), added openvpn-doc, added initscript (TEST AND FIX, PLEASE)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Apr 17 14:01:12 2014 +0400 (2014-04-17) |
parents | |
children |
rev | line source |
---|---|
devl547@16412 | 1 # OpenVPN automatically creates an /etc/resolv.conf (or sends it to |
devl547@16412 | 2 # resolvconf) if given DNS information by the OpenVPN server. |
devl547@16412 | 3 # Set PEER_DNS="no" to stop this. |
devl547@16412 | 4 PEER_DNS="yes" |
devl547@16412 | 5 |
devl547@16412 | 6 # OpenVPN can run in many modes. Most people will want the init script |
devl547@16412 | 7 # to automatically detect the mode and try and apply a good default |
devl547@16412 | 8 # configuration and setup scripts. However, there are cases where the |
devl547@16412 | 9 # OpenVPN configuration looks like a client, but it's really a peer or |
devl547@16412 | 10 # something else. DETECT_CLIENT controls this behaviour. |
devl547@16412 | 11 DETECT_CLIENT="yes" |
devl547@16412 | 12 |
devl547@16412 | 13 # If DETECT_CLIENT is no and you have your own scripts to re-enter the openvpn |
devl547@16412 | 14 # init script (ie, it first becomes "inactive" and the script then starts the |
devl547@16412 | 15 # script again to make it "started") then you can state this below. |
devl547@16412 | 16 # In other words, unless you understand service dependencies and are a |
devl547@16412 | 17 # competent shell scripter, don't set this. |
devl547@16412 | 18 RE_ENTER="no" |