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

    CP + external Wifi router

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 2 Posters 3.6k 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.
    • J
      josey
      last edited by

      So here is thing

      i have PFS with interface on 10.0.51.0/24 with address 10.0.51.1, with cp running on it, with local user management, and it runs DHCP, from 10.0.51.100 to 10.0.51.200

      a have connect wireless router to network and WAN interface of wifi router is set to 10.0.51.2 gateway and dns set to 10.0.51.1

      wifi on wireless have dhcp on 10.2.51.100 - 10.2.51.200

      and it seems that works perfect !
      BUT

      After first user logs on to CP, everybody can go directly to internet, no CP ??? why?

      i check cp connected users, and yes, only first one is logged, and it shows ip address 10.0.51.2 …
      is this my mistake, wrong configuration or it is PFS?

      thanks

      1 Reply Last reply Reply Quote 0
      • J
        josey
        last edited by

        maybe this is question for CP forum?

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          Search the forum.
          This has been discussed before.

          Basically: set your accesspoint into bridging mode.
          –> Dont connect the WAN-port to the pfSense, but the LAN-port.

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • J
            josey
            last edited by

            i know, i tried that and it works like that,
            so, PFS cant authenticate several clients from same IP

            ok, that is information i have looking for

            1 Reply Last reply Reply Quote 0
            • GruensFroeschliG
              GruensFroeschli
              last edited by

              This is not only pfSense.
              This is how captive portals work.
              You cannot distinguish multiple client behind a NAT-device.
              (Hell if it werent like this we would have run out of IP-space years ago.)

              We do what we must, because we can.

              Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

              1 Reply Last reply Reply Quote 0
              • J
                josey
                last edited by

                yes you are right, i was thinking little bit about this, and it is because of NAT, so i turned it off and enter static routes in wireless router, and check Disable MAC filtering in captive portal and now works …

                and now, i see that you are talking about NAT.

                it works now
                thanks

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