Ignore:
Timestamp:
02/16/17 21:59:26 (8 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
577e6d3
Parents:
e1b2384
Message:

allow better openvpn customisatioin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/internetserver/openvpn_conf/root/etc/openvpn/openvpn.conf

    re1b2384 r55d876d  
    1 #################################################
    2 # Sample OpenVPN 2.0 config file for            #
    3 # multi-client server.                          #
    4 #                                               #
    5 # This file is for the server side              #
    6 # of a many-clients  one-server                 #
    7 # OpenVPN configuration.                        #
    8 #                                               #
    9 # OpenVPN also supports                         #
    10 # single-machine  single-machine                #
    11 # configurations (See the Examples page         #
    12 # on the web site for more info).               #
    13 #                                               #
    14 # This config should work on Windows            #
    15 # or Linux/BSD systems.  Remember on            #
    16 # Windows to quote pathnames and use            #
    17 # double backslashes, e.g.:                     #
    18 # "C:\\Program Files\\OpenVPN\\config\\foo.key" #
    19 #                                               #
    20 # Comments are preceded with '#' or ';'         #
    21 #################################################
     1#########################################
     2### SYN-3 openvpn configuration
     3### This file will be overwritten by updates.
     4### Please make changes in /etc/openvpn/openvpn_custom.conf
     5##########################################
     6
    227
    238# Which local IP address should OpenVPN
     
    8671#   openssl dhparam -out dh1024.pem 1024
    8772# Substitute 2048 for 1024 if you are using
    88 # 2048 bit keys. 
     73# 2048 bit keys.
    8974dh /etc/openvpn/pki/dh.pem
    9075
     
    183168# a more specific route than the default route
    184169# of 0.0.0.0/0.0.0.0.
    185 push "redirect-gateway"
     170;push "redirect-gateway"
    186171
    187172# Certain Windows-specific network settings
     
    189174# or WINS server addresses.  CAVEAT:
    190175# http://openvpn.net/faq.html#dhcpcaveats
    191 push "dhcp-option DNS 10.8.0.1"
     176;push "dhcp-option DNS 10.8.0.1"
    192177;push "dhcp-option WINS 10.8.0.1"
    193178
     
    300285# pam_ldap authentication (need to be member of group with uid 521)
    301286plugin /usr/lib/openvpn/plugins/openvpn-plugin-auth-pam.so "openvpn login USERNAME password PASSWORD"
    302 
Note: See TracChangeset for help on using the changeset viewer.