Configuring OpenVPN

From Notes to self
Revision as of 18:28, 1 December 2019 by Verbovet (talk | contribs)
Jump to navigation Jump to search

Let the server be foo, client bar.

  • Setup easy-rsa v.3:
# cd
# git clone http://github.com/OpenVPN/easy-rsa
# cd easy-rsa/easyrsa3
  • To customise defaulr settings, cp vars.example vars and edit vars (in particular, the variables EASYRSA_CA_EXPIRE, EASYRSA_CERT_EXPIRE, and EASYRSA_CRL_DAYS)