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 184.108.40.206
There is no effect. I tried to add this line in server conf
push "dhcp-option DNS 220.127.116.11"
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?