- # apt-get install build-essential libssl-dev liblzo2-dev libpam0g-dev easy-rsa
- #
wget http:
//swupdate
.openvpn.org
/community/releases/openvpn-2
.3.7.
tar
.xz
- # tar xvf openvpn-2.3.7.tar.xz
- # ./configure
- # ./make
- # ./make install
For basic setup and key generation see: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04
For PAM:
1. in server config put:
2. create new pam file: nano /etc/pam.d/openvpn auth required pam_unix.so shadow nodelay account required pam_unix.so 3. add "auth-user-pass" in client config |
No comments:
Post a Comment