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

    CP and DNS

    Scheduled Pinned Locked Moved Captive Portal
    9 Posts 4 Posters 1.4k 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.
    • K
      Koensk
      last edited by

      Hi all,

      We are working with a system called Corinex in combination with PFsense.
      Everything worked great and my clients were a always redirected to the login page of the CP.

      At this moment CP is not working anymore, as I did some changes which I can't remember  :-[
      All my clients with Corinex hardware are now allowed on the network and have full internet speeds  and I'm wondering where I messed up
      I have a slight clue that the trouble started when I changed the DNS server.
      Can someone tell me if the entered DNS server in General Setup does matter if you use the CP?
      Should I use the gateway address instead of for example 8.8.8.8?

      Thanks for your help in advance

      Koen

      1 Reply Last reply Reply Quote 0
      • E
        EMWEE
        last edited by

        Your clients should use pfsense as dns.

        Use ipfw -x "zone" list to see why your clients can access the internet with the CP on.

        1 Reply Last reply Reply Quote 0
        • K
          Koensk
          last edited by

          The strange thing is that all the clients CAN access the internet when CP is on, but they are not presented the log-in screen first.

          1 Reply Last reply Reply Quote 0
          • E
            EMWEE
            last edited by

            Post a detailed config of your network.

            1 Reply Last reply Reply Quote 0
            • K
              Koensk
              last edited by

              Ok what info would you need?

              DNS is now configured as 212.54.35.25 and 212.54.40.25 which are default Ziggo DNS.
              Can I change them into 172.16.0.1 as that is the IP of my PFsense?

              Furthermore there is some port forwarding and NAT configured, would you need all this info to?

              1 Reply Last reply Reply Quote 0
              • E
                EMWEE
                last edited by

                Just post a detailed config of your LAN. It isnt that hard.

                1 Reply Last reply Reply Quote 0
                • K
                  Koensk
                  last edited by

                  I see you haven't noticed the amount of Noobieness I carry with me but oke I assume you mean the following:

                  Lan IP Router: 172.16.0.1
                  Subnet 172.16.0.0
                  mask 255.255.0.0
                  DHCP is enabled
                  DHCP Range 172.16.1.1 - 172.16.4.254
                  DNS Forwarder is enabled

                  Is that detailed enough?
                  Anyway, thanks in advance for your help.

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

                    Your CP is activated on the LAN interface ?
                    How do you client connect ?  a big switch between this LAN interface and clients ? An AP ? And if it is an AP, has the DHCP been shut down in the AP ? And the router mode has been disabled ?
                    When client get an IP, is it in the right network segment (  between 172.16.1.1 and 172.16.4.254 ) ? Another IP ? pfSEnse show that he gave that IP (see on Status => DHCP server page )

                    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
                    • D
                      doktornotor Banned
                      last edited by

                      Also, are the DNS servers whitelisted on CP?

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