openvpn.confd 892 B

12345678910111213141516171819
  1. # OpenVPN automatically creates an /etc/resolv.conf (or sends it to
  2. # resolvconf) if given DNS information by the OpenVPN server.
  3. # Set PEER_DNS="no" to stop this.
  4. PEER_DNS="yes"
  5. # OpenVPN can run in many modes. Most people will want the init script
  6. # to automatically detect the mode and try and apply a good default
  7. # configuration and setup scripts. However, there are cases where the
  8. # OpenVPN configuration looks like a client, but it's really a peer or
  9. # something else. DETECT_CLIENT controls this behaviour.
  10. DETECT_CLIENT="yes"
  11. # If DETECT_CLIENT is no and you have your own scripts to re-enter the openvpn
  12. # init script (ie, it first becomes "inactive" and the script then starts the
  13. # script again to make it "started") then you can state this below.
  14. # In other words, unless you understand service dependencies and are a
  15. # competent shell scripter, don't set this.
  16. RE_ENTER="no"