mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2024-07-04 18:55:48 +02:00
Change "block-outside-dns" placement
- Apply upstream change Nyr/openvpn-install commit f2c44de. - This is mainly to work around a bug in Viscosity for macOS.
This commit is contained in:
parent
6a5e5959d1
commit
b9c2ff1719
|
@ -598,6 +598,7 @@ server 10.8.0.0 255.255.255.0" > /etc/openvpn/server/server.conf
|
|||
fi
|
||||
;;
|
||||
esac
|
||||
echo 'push "block-outside-dns"' >> /etc/openvpn/server/server.conf
|
||||
echo "keepalive 10 120
|
||||
cipher AES-256-CBC
|
||||
user nobody
|
||||
|
@ -701,7 +702,6 @@ remote-cert-tls server
|
|||
auth SHA512
|
||||
cipher AES-256-CBC
|
||||
ignore-unknown-option block-outside-dns
|
||||
block-outside-dns
|
||||
verb 3" > /etc/openvpn/server/client-common.txt
|
||||
# Enable and start the OpenVPN service
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue
Block a user