Force DNS server



  • All,

    road warriors are using Windows 10, IKEv2 and MSChap with split tunneling. Their 172.31.x subnet traffic goes through the VPN, all other traffic to their ISP.

    Unfortunately, Windows 10 uses the ISP's DNS servers.

    Is there any way to force the client to use the VPN DNS servers for all traffic? I'd prefer a powershell method, since split tunneling can't be setup in the GUI.

    Chris



  • Hi,

    What about activating

    0_1533880758595_29891dfc-4782-46ac-ac11-726b35756bcd-image.png

    ?

    edit : oops, You're using ipsec, not openvpn.



  • Changed the client's metric. Ethernet > VPN.