mirror of
https://github.com/hwdsl2/openvpn-install.git
synced 2026-01-10 18:36:17 +00: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:
@@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user