I setup an openvpn server with static key (certificate mode is not usable due to DPI at the national gateway), but I cannot successfully change the DNS automatically after the connection. I searched over the Internet and SE, and every one suggests the use
I tried to add this line to
dhcp-option DNS 18.104.22.168
There is no effect. I tried to add this line in server conf
push "dhcp-option DNS 22.214.171.124"
Neither has any effect.
In fact, according to the manual,
--dhcp-option type [parm]
Set extended TAP-Win32 TCP/IP properties, must be used with --ip-win32 dynamic or --ip-win32 adaptive.
But my client is a Mac machine, server Linux. Any solutions to the problem?