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

    Using VPN for Gateway

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 2 Posters 708 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.
    • L
      littlephil
      last edited by

      I want to use VPN from a windows machine to my PFsense network but route internet traffic via the VPN but keep LAN access on the local machine for printing/files etc...

      At the moment I loose LAN access when the VPN is on, internet traffic is routing as I would expect.

      Any thing i'm missing?

      Thanks
      Phil

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @littlephil
        last edited by

        @littlephil said in Using VPN for Gateway:

        At the moment I loose LAN access when the VPN is on, internet traffic is routing as I would expect.

        If you use IP addresses es well?

        L 1 Reply Last reply Reply Quote 0
        • L
          littlephil @viragomann
          last edited by

          @viragomann ah yes it works with IP, so it's an issue with DNS!

          Can you point me in the right direction to sort that?

          Thanks
          P

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @littlephil
            last edited by

            @littlephil
            If the VPN server pushes a DNS server, the Windows client overwrites its DNS settings and use that one from the VPN. There is no was to have both.

            So either you have to remove the DNS server from the OpenVPN settings or you add the local host names to the remote DNS.

            L 1 Reply Last reply Reply Quote 1
            • L
              littlephil @viragomann
              last edited by

              @viragomann that does make sense I’ll try that in the morning thank you

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