Create CCD directory in setup script

This commit is contained in:
Kumi 2019-02-07 19:14:22 +00:00
parent dd48525a48
commit 446b8aa53e

View file

@ -25,6 +25,7 @@ chmod +x misc/make_config
sudo cp misc/make_config misc/base.conf /etc/openvpn/client-configs sudo cp misc/make_config misc/base.conf /etc/openvpn/client-configs
openvpn --genkey --secret /etc/openvpn/ca/keys/ta.key openvpn --genkey --secret /etc/openvpn/ca/keys/ta.key
sudo chown vpn.vpn /etc/openvpn/client-configs -R sudo chown vpn.vpn /etc/openvpn/client-configs -R
sudo mkdir /etc/openvpn/ccd
cp manager/hostname.dist.py manager/hostname.py cp manager/hostname.dist.py manager/hostname.py
sudo chown vpn.vpn . -R sudo chown vpn.vpn . -R
sudo systemctl daemon-reload sudo systemctl daemon-reload