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

    having troubles setting up DNS for VPN and non VPN right

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 1 Posters 277 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
      comet424
      last edited by comet424

      so i been having issues for a while not sure how i fix or if its possible?
      so i have on my network
      some computers are behind NordVPN
      and some computers are setup to go directly out the WAN so bypass's the VPN

      but what i find is if on a VPN it can say use amazon.ca but if i use the Non VPN if using Internet Edge the page wont load right, sometimes its hit and miss on loading on Chrome or Firefox.
      but if i swith that computer to the VPN connection no problems

      but problem is i have local dnsnames like for HomeAssistant or my Unraid etc
      and if i use 192.168.0.1 that use the VPN clients i can use my local dns names

      but my non VPN computer
      if i use 192.168.0.1 also that points to the pfsense box.. local dns works.. but amazon doesnt like to work

      so i tried doing for my Static ip for the non vpn computer
      i tried

      blank dns

      i tried
      192.168.0.1
      1.1.1.1
      1.0.0.1

      i tried
      1.1.1.1
      1.0.0.1

      i tried
      1.1.1.1
      1.0.0.1
      192.168.0.1

      if i set the DNS's to 1.1.1.1 1.0.0.1
      least Amazon works but local DNS names no longer work
      if i add 192.168.0.1 at first and then teh 1.1.1.1.. local works but amazon doesnt work
      if i dod the 1.1.1.1 and then lastly use the 192.168.0.1 then amazon works but i still loose local dns

      is there a way to get amazon to work and my local DNs names to work
      where you have some clients using VPN and some using straight but i want to be able to access local dns names and externals like amazon

      or i cant i can only do 1 or the other

      and i not using VLANs all the same 192.168.0.x just a section is set for VPN and a section is non vpn

      just curious if its a setting i might checked off i shouldnt etc
      i figured adding the 3 dns's so if local dns's wouldnt be found on the 1.1.1.1 it goto the 192.168.0.1 but it didnt work that way.. and i tried reboots in between..

      also i notice lot of websites seem slower for my computers not using VPN when the DNS is 192.168.0.1 either sites wont load or just slow.. i guessing it gets jambled when pfsense try to seperate the 2 and probably cant but then i probably did something wrong

      C 1 Reply Last reply Reply Quote 2
      • C
        comet424 @comet424
        last edited by comet424

        oh and my current setup
        1.1.1.1
        1.0.0.1
        192.168.0.1

        works then it stops working then it will come back

        so i can ping say homeassistant
        i get the other IP then say 10 min later
        it couldnt do my ping request.. then give it another 10 min or so
        it will be able to do domain names again

        so i guess im conflicting it so it works then stops working
        i did try the DNS forwarder.. i chose LAN network figured it would force the local 192.168.0.1 to the local LAN but thats probably not what it does

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