Create CCD directory in setup script
This commit is contained in:
parent
dd48525a48
commit
446b8aa53e
1 changed files with 1 additions and 0 deletions
1
setup.sh
1
setup.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue