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

    Pfsense and windows domain

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 3 Posters 151 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.
    • F Offline
      fladias
      last edited by

      My local network provide a domain using windows server 2019 , when I connect internet from pfsense the domain become unavailable and and the internet take over, I would like to know how to solve this issues.

      S 1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        What exactly are you seeing? How are you testing?

        I would guess that you are switching DHCP to pfSense and that is passing it's own domain to clients. You can configure dhcp in pfSense to pass whatever you need though. Or not use dhcp in pfSense at all.

        F 1 Reply Last reply Reply Quote 0
        • S Offline
          SteveITS Rebel Alliance @fladias
          last edited by

          Another possibility is resolution of the Windows DNS domain...add a Domain Override on pfSense pointing to the IP(s) of the domain controller(s).

          Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
          Upvote ๐Ÿ‘ helpful posts!

          F 1 Reply Last reply Reply Quote 1
          • stephenw10S stephenw10 referenced this topic
          • F Offline
            fladias @stephenw10
            last edited by

            @stephe! We have LAN with windows server machine running and providing DHCP and DNS plugged on the switch, internet from pfsense plugged on the same switch as well client. What happens the time we plug pfsense LAN on the switch the LAN(domain) become inaccessible and the internet connection running normally. I would like the internet and domain work together.![alt text](image urlIMG_20251011_084059_959.jpg )

            stephenw10S 1 Reply Last reply Reply Quote 0
            • F Offline
              fladias @SteveITS
              last edited by

              @SteveITS Thanks, I have already done it from pfsense.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                SteveITS Rebel Alliance @fladias
                last edited by

                @fladias did you disable DHCP server in pfSense?

                Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                Upvote ๐Ÿ‘ helpful posts!

                F 1 Reply Last reply Reply Quote 0
                • F Offline
                  fladias @SteveITS
                  last edited by

                  @SteveITS I will verify and give you feedback thanks!

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator @fladias
                    last edited by

                    @fladias said in Pfsense and windows domain:

                    we plug pfsense LAN on the switch the LAN(domain) become inaccessible

                    How are you seeing that appear? How are you testing?

                    If you are not using pfSense as a DHCP server or DNS server then nothing should change when it's connected.

                    F 2 Replies Last reply Reply Quote 0
                    • F Offline
                      fladias @stephenw10
                      last edited by

                      @stephenw10 from the client computer bottom right network icon notification as well as on shared drive accessibility it becomes disable.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator
                        last edited by

                        So what's changing on the client? It's default route? It's DNS server?

                        F 1 Reply Last reply Reply Quote 0
                        • F Offline
                          fladias @stephenw10
                          last edited by

                          @stephenw10 that is clear, without activating DHCP in Pfsense do you believe client still gonna have internet access?

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S Offline
                            stephenw10 Netgate Administrator
                            last edited by

                            It will if your domain controller is passing pfSense as the default gateway to clients via it's DHCP.

                            OK so you said you were not using pfSense for DHCP but if in fact it's still enabled there then that explains the behaviour you're seeing. Clients will get a dhcp lease and routing dns info from pfSense and lose whatever info the DC is passing them.

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              fladias @stephenw10
                              last edited by

                              @stephenw10 I have noticed IP is different the one from pfsense when plugged, when I unplugged pfsense client use other IP from the domain.

                              1 Reply Last reply Reply Quote 0
                              • stephenw10S Offline
                                stephenw10 Netgate Administrator
                                last edited by

                                Yeah you cannot have two DHCP servers. You must choose one and I would use the DC for that. Configure it o use the same subnet as pfSense and pass the pfSense LAN address as a default gateway to clients.

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