Update README.md

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

View File

@ -34,11 +34,18 @@ The below instructions make the following assumptions. If you use a different s
9. You will see other variables that reference example.com - change these accordingly.
###Setup Instructions:
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
3. sudo cp -R /usr/share/easy-rsa /etc/openvpn/rsa
4. sudo cp -R /tmp/ovpn-ad-sync/
5. Create openvpn server config file
1. Install and configure all pre-requisites listed above
2. Clone the repository `sudo git clone https://github.com/joshnorth/ovpn-ad-sync.git /tmp/ovpn-ad-sync`
3. Copy RSA directory `sudo cp -R /usr/share/easy-rsa /etc/openvpn/rsa`
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
make ldap config file
edit /etc/openvpn/rsa/vars correctly
in rsa dir do source ./vars, build-ca, build-dh, and build-key-server