Update README.md

This commit is contained in:
Josh North 2014-12-03 14:25:51 -05:00
parent 3137581aff
commit 3a1fa67d5b

View File

@ -38,12 +38,15 @@ The below instructions make the following assumptions. If you use a different s
2. Clone the repository `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. Copy RSA directory `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. Edit RSA variable file - IMPORTANT! `sudo nano /etc/openvpn/rsa/vars` 4. Edit RSA variable file - IMPORTANT! `sudo nano /etc/openvpn/rsa/vars`
5. Build RSA CA ```sudo -s 5. Build RSA CA
cd /etc/openvpn/rsa ```
source ./vars sudo -s
./build-ca cd /etc/openvpn/rsa
./build-dh source ./vars
./build-key-server vpn.example.com``` ./build-ca
./build-dh
./build-key-server vpn.example.com
```
6. sudo cp -R /tmp/ovpn-ad-sync/ 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