Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Force DNS server

    Scheduled Pinned Locked Moved IPsec
    ipsecdnssplittunnel
    3 Posts 2 Posters 823 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chris2017
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by Gertjan

        Hi,

        What about activating

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

        ?

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

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • C
          chris2017
          last edited by

          Changed the client's metric. Ethernet > VPN.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.