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

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

    Scheduled Pinned Locked Moved General pfSense Questions
    20 Posts 5 Posters 1.7k 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.
    • RaymondChaukeR
      RaymondChauke
      last edited by

      After i entered the first PFSense voucher code, every connection get access to internet without using voucher. which is wrong..
      I have 3 wifi repeaters that are in between the PFSense and them. The first router that is directly plugged into PFSense is Huawei B162-25d , then the second routher is Ultra-link N300 that is directly plugged into Huawei[1st router] and the last one is also Ultra-link N300 plugged as a repeater taking internet directly from the second one.

      The issues is that when a single voucher is entered it opens for all connection to have access to the internet without having to use their voucher...where they other connections a re supposed to use their voucher to access the internet... but is no the case in my topology..

      Anyone with help?

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

        You have to disable nat on your wireless routers

        RaymondChaukeR 1 Reply Last reply Reply Quote 0
        • RaymondChaukeR
          RaymondChauke @heper
          last edited by

          @heper
          Thanks for your response.
          According to UltraLink N300 there is no NAT in the firmware... and i have tried to research if there is any equivalent NAT used in this device firmware but i am not winning...![alt text](image url)5cb619d1-ebc4-4389-959e-d0eb98973457-image.png

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

            those are repeaters that might or might not have nat

            the huawei b162-25d is certainly a router with nat. you need to disable the routing part & the nat part and run it in bridge mode

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

              Wireless repeaters often (always?) use some blackmagic to make all clients look like they are coming from the same MAC address. So the captive portal will only see one MAC, one client.
              https://en.wikipedia.org/wiki/Wireless_repeater

              Don't use those devices in repeater/extender mode.

              Steve

              1 Reply Last reply Reply Quote 0
              • RaymondChaukeR
                RaymondChauke
                last edited by

                Thanks a lot....but the problem is not going away on this routers......
                I also tried using Ubiquity Nano Station M2... but it does not send me to captive portal and it reports that there is no internet....

                i will appreciate your more.

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

                  If you are not using any wireless extenders/repeaters first run a packet capture on the incoming interface and make sure you see unique MAC addresses from all clients.

                  If you are just not being redirected to the login page you may be hitting the issue discussed here:
                  https://forum.netgate.com/topic/137824/pfsense-no-internet-when-it-is-said-you-are-connected
                  Try disconnecting users manually and retesting to confirm it. There is a patch on that thread for the issue.

                  Otherwise check: https://www.netgate.com/docs/pfsense/captiveportal/captive-portal-troubleshooting.html

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • RaymondChaukeR
                    RaymondChauke
                    last edited by RaymondChauke

                    Thanks to all responses. I finally go the solution on video now.

                    WATCH Solution on video now.

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

                      So what exactly was the issue here? Unfortunately my Tsonga is not good! 😉

                      RaymondChaukeR 1 Reply Last reply Reply Quote 0
                      • RaymondChaukeR
                        RaymondChauke @stephenw10
                        last edited by

                        @stephenw10 The system was not allowing multiple code to be entered in 1 hotspot.....
                        Thanks my pal you can learn Tsonga language online too. its fun.

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

                          @RaymondChauke please me to am facing the same problem can u direct me home to solve it please 🥺

                          RaymondChaukeR 1 Reply Last reply Reply Quote 1
                          • RaymondChaukeR
                            RaymondChauke @zwo
                            last edited by RaymondChauke

                            @zwo What brand name and model of the end user router are you using?

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

                              @RaymondChauke I have a tp link extended and Dlink router Dir 853 plus a switch of tplink with 16ports

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

                                @zwo

                                No need to Tsonga this one.

                                Use the AI that's available to everybody as soon as your fingers can press down the buttons on a keyword and you know what you wan.

                                Ready ?

                                Copy paste (so mouse only will do ^^) this question into Google and you have your answer with a video, and text.

                                set up Dlink router Dir 853 as a simple access point

                                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
                                • Z
                                  zwo @Gertjan
                                  last edited by

                                  @Gertjan I tried all that but they where bring different stuffs. Thanks for ur little help

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

                                    If you register one device and then everything can connect the wireless device is likely hiding the real MAC addresses because it's still running as a router.

                                    You need to configure it as a layer 2 device so pfSense can see the real WiFi clients directly. So either set it in AP mode or just connect to it internally and disable all it's router features.
                                    https://docs.netgate.com/pfsense/en/latest/recipes/external-wireless-router.html#turning-a-wireless-router-into-an-access-point

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

                                      @zwo

                                      Something that will work and help, you understand :

                                      Don't use an AP, don't use wifi.
                                      Hook up a 'dumb' switch (the very cheap ones) to the portal interface.
                                      Now, hook up a PC to this witch using a cable.

                                      You'll see that :
                                      The PC obtains a DHCP lease from pfSense.
                                      The captive portal works, you see the login page.
                                      Now hook up another PC or any other device, as long as it is using a cable.
                                      It also gets a DHCP from pfSense - as you can see under Status > DHCP Leases and Status System Logs DHCP and you'll see the portal login page again.
                                      When logged in, you'll see a second portal showing up on the dashboard :

                                      3d8e7e8f-ee0c-4b3f-98ec-a59d5e8c204b-image.png

                                      Everything works, as you doing only the so called Level 2 Ethernet.
                                      Adding a router device mans : you're adding Level 3 Ethernet (L3 is called routing).
                                      Normally, you don't put a router after a router. This is especially true for a captive portal network.

                                      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
                                      • Z
                                        zwo @Gertjan
                                        last edited by

                                        @Gertjan I want to start up for little business to generate my tuition.meaning I will connect more users via APs. So can u make me a video how to set the ips for both APs and routers please. Thanks

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

                                          @zwo

                                          A video ?
                                          No, sorry, you have to learn thing by finding out how your AP work. I don't have your devices.
                                          And the two images I posted above are all there is.
                                          Or go easy yourself and get your hands on some real APs.

                                          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 1
                                          • Z
                                            zwo @Gertjan
                                            last edited by

                                            @Gertjan alright I will find out. Thou thanks for the help u had given me. Have a good day

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