From 9f3f90b5e86283aee9779c5ce713497caba08c1b Mon Sep 17 00:00:00 2001 From: nsharief Date: Sat, 15 Jun 2024 19:00:04 +0100 Subject: [PATCH] Customer DNS option 7 --- openvpn-install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openvpn-install.sh b/openvpn-install.sh index 8975618..fc7a950 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -334,6 +334,9 @@ server 10.8.0.0 255.255.255.0" > /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 94.140.14.14"' >> /etc/openvpn/server/server.conf echo 'push "dhcp-option DNS 94.140.15.15"' >> /etc/openvpn/server/server.conf ;; + 7) + echo 'push "dhcp-option DNS '$dns_custom_1'"' >> /etc/openvpn/server/server.conf + echo 'push "dhcp-option DNS '$dns_custom_2'"' >> /etc/openvpn/server/server.conf esac echo 'push "block-outside-dns"' >> /etc/openvpn/server/server.conf echo "keepalive 10 120