Hi Paul,

On 08/06/19 16:14, Paul van der Vlis wrote:
Hello,

Server is Linux, client is Linux.

In server.conf, I have this (and more):
push "dhcp-option DNS 10.8.32.1"

In client.conf, I have this (and more):
client
script-security 2
up /etc/openvpn/update-resolv-conf

When I put "printenv > /tmp/test" in update-resolv-conf, there are
many environment variables from OpenVPN, but nothing about the DNS.


as you wrote later on, the server does not seem to push anything.
Increase the verbosity in the server config file to 5 or higher to see what it's doing.
Also, try adding more quotes, e.g.
  push "dhcp-option \"DNS 10.8.32.1\""
or
  push 'dhcp-option "DNS 10.8.32.1"'

as OpenVPN has gotten pickier about the (lack of ) quotes in multi-value options (to my dismay, really).

HTH,

JJK




_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to