Changeset 55d876d


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

Location:
npl/internetserver/openvpn_conf
Files:
2 added
6 edited

Legend:

Unmodified
Added
Removed
  • npl/internetserver/openvpn_conf/openvpn_conf.build

    re1b2384 r55d876d  
    1 6556
     16558
  • npl/internetserver/openvpn_conf/openvpn_conf.md5

    re1b2384 r55d876d  
    1 d30a9121eee820b8b4c9986aed67d0cc  ./openvpn_conf.pkg
     1e6b8830262387e5096021399e73eacfe  ./openvpn_conf.pkg
    22729b418d4c2197708760319d4097906e  ./openvpn_conf.SlackBuild
    3 9a45379fb58ad84d8b3a0bfdd6f60d03  ./openvpn_conf.SlackBuild.log.gz
     330b7d6e39f812d1cca79c92ee2d8f014  ./openvpn_conf.SlackBuild.log.gz
    4402590f2d27b9254da5877e03719a9228  ./root/etc/firewall/services.openvpn
    555d08314120a94191e539c792b1c410a2  ./root/etc/openvpn/easyrsa
    66d6cb374d0d7d5b7b87d74f9976362a70  ./root/etc/openvpn/openssl-1.0.cnf
    7 5a93266250a72d36d413e11784cbfb20  ./root/etc/openvpn/openvpn.conf
     788937c4fed1e288bcedfc2975792c331  ./root/etc/openvpn/openvpn.conf
     8587c47cd3871a89b73f07716e722e953  ./root/etc/openvpn/openvpn_custom.conf.new
     9d41d8cd98f00b204e9800998ecf8427e  ./root/etc/openvpn/openvpn_syn3.conf.new
    810f3bdb2484e8eee18be1cb25093d1d19a  ./root/etc/openvpn/pam_ldap.conf
    911a7956355ff8cb69cc5ee0ed476380149  ./root/etc/openvpn/syn3-client
     
    1719c8fadda104656594f3ceadbb13d9d178  ./root/etc/pam.d/openvpn
    18200b5c1be62a06a25f07bb7360014c82e7  ./root/etc/postinst.d/post.openvpn
    19 aeb8d4aa99fe22f5483fa5d4f593ffa2  ./root/service/openvpn/run
     21b4cd1c6ab389a60ed98da6d792339fa7  ./root/service/openvpn/run
  • 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 
  • npl/internetserver/openvpn_conf/root/service/openvpn/run

    re1b2384 r55d876d  
    44
    55cd /etc/openvpn
    6 exec openvpn --config openvpn.conf
     6exec openvpn --config openvpn.conf --config openvpn_syn3.conf  --config openvpn_custom.conf
Note: See TracChangeset for help on using the changeset viewer.