diff --git a/README.md b/README.md index e5694bd..6adbb5e 100644 --- a/README.md +++ b/README.md @@ -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