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

    Captive portal

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 339 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.
    • Z
      zwo
      last edited by

      After i entered the first PfSense voucher code, every connection get access to internet without using voucher. which is wrong..Anyone with help

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

        @zwo

        What kind of device did you hook up to the pfsense captive portal's interface ?
        I'll put my bets on : it's a router, not simple switches and access points.

        The behavior is easily to spot : when you connect a first device, you'll see traffic coming from ... the router, so the IP, and MAC are the ones sued by the router, not the devioce you've connected.
        The next device you connect will also have the IP (WAN IP) of the router. And the same MAC, so for pfSense, the traffic comes from the same device, which was already granted.

        To get a better understanding, check the DHCP leases on your captive portal interface.
        Normally, there should be a lease for every connected device. You'll be seeing probably only one, or even nothing, if the downstream router as a static IP setup.

        So, start admining your access point.
        Stop the firewall, stop the DHCP server, and don't use the port that is marked with "WAN', use a LAN port on your access point to connect to pfSense.

        Btw : the presence of a WAN port and LAN port means that it's a router.
        Like pfSense ^^

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        Z 1 Reply Last reply Reply Quote 0
        • JonathanLeeJ
          JonathanLee
          last edited by

          Check Netgate docs and follow the guide and the port configuration for it, YouTube has some great how too guides for captive portal Laurence systems does some good ones.

          Make sure to upvote

          1 Reply Last reply Reply Quote 0
          • Z
            zwo @Gertjan
            last edited by

            @Gertjan I thought of that but the problem I am new to networking just wanted to do it my little business to generate my school tuition. Please can u explain to a beginner like me please. I installed pfsense on my small PC with two ports I have a switch tp link type with 16 ports. I also have Dlink Dir 851 kinda old plus the tp link APS AND a cumbiam force 200. Last my isp which has 4 LAN ports 5g. So if u can show me how set Them i will be really thankful

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

              @zwo said in Captive portal:

              Dlink Dir 851

              A router.

              @zwo said in Captive portal:

              tp link APS

              Google doesn't know what that is. That's ... strange.

              @zwo said in Captive portal:

              cumbiam force 200

              ? > cambium force 200 ! ... that's ... dono ...

              An example : I've a some 'routers with Wifi' that I've downgraded to 'dumb' access points : the good old famous WRT54GS (was linksys before, now Cisco - or something else) :

              My pfSense captive portal network uses a dedicated NIC : 192.168.2.1/24. I've set up a DHCPv4 server for this portal interface :

              22989722-0c5a-42ac-921a-50eb8b2319e2-image.png

              I've activated the pfSense captive portal on my 192.168.2.1/24 interface, mostly with default settings.

              I've reset my WRT54GS device.
              Then :

              fb8d5a9e-1776-4f23-8772-bc2e2ec621c8-image.png

              and the Wifi part :

              2934709e-f25c-4556-bd48-77754d748f01-image.png

              save - reboot and nearly done.

              Hook up the router .. sorry - now access point using one of these 4 plugs :

              0cb56cf8-7e2f-4528-a20f-b40e27d67498-image.png

              and your online !

              Btw : the same scenario (setup) is valid for nearly every device you can find out there.

              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 1
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.