Update README.md

This commit is contained in:
Josh North 2014-12-03 14:23:35 -05:00
parent da75eb83ca
commit 3137581aff

View File

@ -35,9 +35,16 @@ The below instructions make the following assumptions. If you use a different s
###Setup Instructions: ###Setup Instructions:
1. Install and configure all pre-requisites listed above 1. Install and configure all pre-requisites listed above
2. sudo git clone https://github.com/joshnorth/ovpn-ad-sync.git /tmp/ovpn-ad-sync 2. Clone the repository `sudo git clone https://github.com/joshnorth/ovpn-ad-sync.git /tmp/ovpn-ad-sync`
3. sudo cp -R /usr/share/easy-rsa /etc/openvpn/rsa 3. Copy RSA directory `sudo cp -R /usr/share/easy-rsa /etc/openvpn/rsa`
4. sudo cp -R /tmp/ovpn-ad-sync/ 4. Edit RSA variable file - IMPORTANT! `sudo nano /etc/openvpn/rsa/vars`
5. Build RSA CA ```sudo -s
cd /etc/openvpn/rsa
source ./vars
./build-ca
./build-dh
./build-key-server vpn.example.com```
6. sudo cp -R /tmp/ovpn-ad-sync/
5. Create openvpn server config file 5. Create openvpn server config file
make ldap config file make ldap config file
edit /etc/openvpn/rsa/vars correctly edit /etc/openvpn/rsa/vars correctly