> For the complete documentation index, see [llms.txt](https://agrat.gitbook.io/admin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://agrat.gitbook.io/admin/network/openvpn.md).

# OpenVPN

\====== Процедура создания клиента OpenVPN ======

```
cd ~/rsa
./easyrsa build-client-full user1
#если без пароля сертификат то 
./easyrsa build-client-full user1 nopass
cd ~/client-config/user1
cp ~/rsa/pki/ca.crt ~/client-config/user1/keys/
cp ~/rsa/pki/ta.key ~/client-config/user1/keys/
cp ~/rsa/pki/private/user1.key ~/client-config/user1/keys/
cp ~/rsa/pki/issued/user1.crt ~/client-config/user1/keys/  
./make_config.sh user1
```
