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

    Multiple WAN with different DNS

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 3 Posters 855 Views 3 Watching
    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.
    • B Offline
      Brayoh
      last edited by

      Hello guys,
      I don't know if this is new here or it's already discussed. I have a Pfsense machine with multiple WAN connections One goes direct to ISP another goes to our LAN, the main aim is we wanted to have a wireless network for visitors so when they're connected to the wireless they'll still be able to get our shared file and other stuff which we hosted internally. But the challenge is I am able to get internet and access the shared drives through IP address of the server but when I try to access them through their local names it's not working. And I wasn't able to set up DNS on the other WAN which goes our LAN
      NOTE: The WAN port which goes to our internal network has a DHCP enabled.
      Thank you in advance

      1 Reply Last reply Reply Quote 0
      • JKnottJ Offline
        JKnott
        last edited by

        If you want them to access local servers, you have to provide a local DNS that does that. Part of the DHCP config specifies the DNS server to use.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • H Offline
          heper
          last edited by

          what? multi-wan with 1 wan going to our lan ? makes no sense (to me)

          perhaps a schematic could be useful

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ Offline
            JKnott @heper
            last edited by

            @heper said in Multiple WAN with different DNS:

            what? multi-wan with 1 wan going to our lan ? makes no sense (to me)

            perhaps a schematic could be useful

            I think he may have 2 different ISP connections, both connected to his network. That is possible, but unusual. Perhaps he means the guest network uses one ISP and the main network the other. If that's the case, the DHCP servers, on both networks, would have to be configured accordingly, but he'd still need a local DNS to provide the addresses for the local servers. He could configure his guest DHCP to point to the local DNS used by his network.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            B 1 Reply Last reply Reply Quote 0
            • B Offline
              Brayoh @JKnott
              last edited by

              Ok @heper let me make it clear.In our network we have configures proxy server and block some site so there are some sites which are not accessible during working hours. our school has been received a lot of visitors during work hours and are sleep over that’s why we came with the idea of free wireless for them which will make them able to get internet connections and also to Access some of the systems which we hosted them Internally.
              Inorder to do it we decided to use pfsense machine with multiple WAN, one WAN1 to goes direct to our ISP and WAN2 one to go to our lan or internal switch.the main WAN which is WAN1 has internet access to configured DNS on it.The second WAN2 has only DHCP enabled.

              1 Reply Last reply Reply Quote 0
              • B Offline
                Brayoh
                last edited by

                ![0_1542380995430_pfsense.JPG](Uploading 100%)

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