mirror of
https://github.com/pivpn/pivpn.git
synced 2025-02-24 20:18:14 +00:00
Fix-189
This commit is contained in:
parent
a4256f3887
commit
b727fa3970
1 changed files with 4 additions and 4 deletions
|
@ -704,7 +704,7 @@ setClientDNS() {
|
|||
;;
|
||||
DNS.WATCH)
|
||||
echo "::: Using DNS.WATCH servers."
|
||||
OVPNDNS1="82.200.69.80"
|
||||
OVPNDNS1="84.200.69.80"
|
||||
OVPNDNS2="84.200.70.40"
|
||||
$SUDO sed -i '0,/\(dhcp-option DNS \)/ s/\(dhcp-option DNS \).*/\1'${OVPNDNS1}'\"/' /etc/openvpn/server.conf
|
||||
$SUDO sed -i '0,/\(dhcp-option DNS \)/! s/\(dhcp-option DNS \).*/\1'${OVPNDNS2}'\"/' /etc/openvpn/server.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue