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

Anyone else running a WiSP and using pfSense?

Scheduled Pinned Locked Moved General pfSense Questions
45 Posts 8 Posters 20.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.
  • P
    ptt Rebel Alliance
    last edited by Oct 15, 2011, 12:44 AM Oct 15, 2011, 12:41 AM

    @luke240778:

    Thanks for this.  I have actually contacted them to do a demo.  They are telling me that their software works best with Mikrotik, and not so great with pfsense… not sure what to do now..  Can i somehow use both Mikrotik and pfSense?

    Im using pfSense ( failover & Sip Proxy ) + MikroTik ( PPPoE ) and  Ubiquiti Rocket M5 as AP, for CPE: NanoStation, NanoStation Loco & NanoBridge ( all 5M series ), and Linksys SPA2102 for clients with VoIP service . I do the PPPoE & traffic shapping at CPE.

    1 Reply Last reply Reply Quote 0
    • L
      luke240778
      last edited by Oct 15, 2011, 1:30 AM

      @dhatz:

      Well, the idea was to check whether the MAC-addresses you wanted blocked are actually still in the 'ipfw show' list you just posted, even though you've removed them from the MAC-pass-through page of pfsense's webGUI.

      Ah ok, i see..  i will check that.  Thankyou.

      Is it strange that the other ipfw commands that you mentioned before didn't do anything when i ran them?

      1 Reply Last reply Reply Quote 0
      • D
        dhatz
        last edited by Oct 15, 2011, 6:02 PM

        @luke240778:

        Is it strange that the other ipfw commands that you mentioned before didn't do anything when i ran them?

        Well, perhaps I wasn't clear enough

        /tmp/ipfw.cp.rules is a text-file that contains the ipfw configuration, so you just check its contents (using vi, more etc)
        ipfw table all list was to check if you had any entries in ipfw tables. Since it came empty, it means you don't (which is to be expected, since you only use MAC passthrough).

        So, as I wrote above, you need to check whether any MAC-addresses you want blocked are still in the 'ipfw show' list. And you need to check that you haven't disabled MAC filtering.

        1 Reply Last reply Reply Quote 0
        • D
          dhatz
          last edited by Oct 15, 2011, 6:23 PM Oct 15, 2011, 6:15 PM

          What about MAC addr 08:10:74:75:98:9e which seems to appear in two rule pairs?

          00186        0           0 pipe 20187 ip from any to any MAC 08:10:74:75:98:9e any
          00187      458       24248 pipe 20186 ip from any to any MAC any 08:10:74:75:98:9e
          […]
          00198        0           0 pipe 20199 ip from any to any MAC 08:10:74:75:98:9e any
          00199        0           0 pipe 20198 ip from any to any MAC any 08:10:74:75:98:9e

          What is the result of
          fgrep 08:10:74:75:98:9e /cf/conf/config.xml

          1 Reply Last reply Reply Quote 0
          • D
            dhatz
            last edited by Oct 22, 2011, 6:17 PM

            luke -or anyone else who is regularly adding/removing MACs from CP's MAC-passthrough page-, could you please check your router's ipfw show output for:

            • MACs that appear in more than one rule pair (as shown in the excerpt above)

            • multiple lines with the same rule number (as shown in issue #1958 )

            TIA

            1 Reply Last reply Reply Quote 0
            • L
              luke240778
              last edited by Oct 25, 2011, 1:40 AM

              Just a quick reply to let you know i am traveling at the moment and will check this out and post back as soon as i am back home

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by Oct 25, 2011, 2:20 AM

                If you're using MAC passthrough and deleting entries, it will delete the one you specify but it also deletes part of others that will break their access. ticket here: http://redmine.pfsense.org/issues/1976

                work around, hit Save under Status>Captive Portal to correctly reload.

                1 Reply Last reply Reply Quote 0
                • L
                  luke240778
                  last edited by Nov 13, 2011, 10:02 PM

                  dhatz, could you tell me how i do this?  ther isalot more data than i can see on screen when i run ipfw show.. can u pipe it through more to see a screen at a time?

                  I hope we can sort this out, i am getting to a point where this is causing problems.  My network is open replying on the Captive Portal catching people who connect. Currently, ever new connection is getting online without being authenticated via CP.. they are somehow just passing by.  This is only happening on the outdoor clients connecting through my outdoor AP (which is on LAN interface) but prople connecting through my office AP (connected on OPT1 interface) arr getting stopped by the CP login page.

                  We are currently adding more and more clients, but i am having to hide my SSID currently to try and stop unwanted peopl eusing the network.. what i really need is that SSID broadcasting cause it is a good way for us to get more clients when people see it and phone us up.

                  1 Reply Last reply Reply Quote 0
                  • L
                    luke240778
                    last edited by Nov 18, 2011, 12:21 AM

                    Any more ideas here?

                    1 Reply Last reply Reply Quote 0
                    • W
                      wallabybob
                      last edited by Nov 18, 2011, 2:14 AM

                      I suspect CP on LAN might be a fairly uncommon configuration and consequently not well tested.

                      You do have CP enabled on BOTH LAN and OPT1? If so, can you move the offending AP to (say) OPT2.

                      1 Reply Last reply Reply Quote 0
                      • L
                        luke240778
                        last edited by Nov 18, 2011, 5:17 AM

                        It was all working until i did the upgrade to 2.0-RELEASE.

                        I dont have an Opt2 interface. Only WAN, LAN and OPT1.  I will try swapping the AP from LAN to OPT1 and see if it works, just to see if the issue is the AP or the Captive Portal.. cause as i said before, on OPT1 currently i have just a small indoor WAP, and the Captive portal works.. but for my outdoor Ruckus AP it isn't anymore.

                        1 Reply Last reply Reply Quote 0
                        • W
                          wallabybob
                          last edited by Nov 18, 2011, 5:45 AM

                          @luke240778:

                          It was all working until i did the upgrade to 2.0-RELEASE.

                          Upgrades can sometimes change the configuration file. Do you have CP enabled on LAN?

                          1 Reply Last reply Reply Quote 0
                          • L
                            luke240778
                            last edited by Nov 18, 2011, 6:30 AM

                            Yes, it is as it was before the upgrade. I have CP enabled on both LAN and OPT1

                            1 Reply Last reply Reply Quote 0
                            • C
                              cmb
                              last edited by Nov 20, 2011, 2:16 AM

                              CP works fine on LAN and is extensively used and tested there. Probably want to gitsync to RELENG_2_0, or wait for 2.0.1 that will be coming this week, if you're using a lot of MAC passthroughs and editing them frequently since we fixed an issue there.

                              1 Reply Last reply Reply Quote 0
                              • L
                                luke240778
                                last edited by Nov 20, 2011, 6:20 AM

                                And i am guessing not go the upgrade route?  do a clean install?  I dont mind if i have to do that, just alot more work and i have the problem that i want to keep all cache and lightsquid logs..

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dhatz
                                  last edited by Nov 20, 2011, 6:33 PM

                                  luke, if you're in a hurry, you could also manually apply the bugfix, it's this one:

                                  https://github.com/bsdperimeter/pfsense/commit/e3db5627224a0293f74e0d032a9b230f98f85952

                                  I haven't noticed any issues with MAC passthrough since.

                                  1 Reply Last reply Reply Quote 0
                                  • L
                                    luke240778
                                    last edited by Nov 20, 2011, 8:25 PM Nov 20, 2011, 7:54 PM

                                    dhatz thanks for that.. a hurry i definately am in.  Ill give this a try and see what happens and report back.  Thanks

                                    just to be clear, i am just to add this line:
                                    +  $ruleno = captiveportal_get_next_ipfw_ruleno(2000, 49899, true);

                                    (do i add the "+" at the start also?)

                                    Or am is supposed to delete these lines also:
                                    -  if ($enBwup && $enBwdown)
                                    945  
                                    -    $ruleno = captiveportal_get_next_ipfw_ruleno(2000, 49899, true);
                                    946  
                                    -  else
                                    947  
                                    -    $ruleno = captiveportal_get_next_ipfw_ruleno(2000, 49899, false);

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      ptt Rebel Alliance
                                      last edited by Nov 20, 2011, 9:44 PM Nov 20, 2011, 9:32 PM

                                      You must delete the lines marked with "-" and add the line marked with "+"

                                      Or you can do as indicated by cmb

                                      Probably want to gitsync to RELENG_2_0

                                      edit:

                                      you have attached the "captiveportal.inc.png" from a pfsense 2.0.1 amd 64

                                      remove the .png and upload to  /etc/inc/

                                      captiveportal.inc.png

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        luke240778
                                        last edited by Nov 20, 2011, 11:21 PM

                                        Ok, so here is my problem that i have absolutely no idea how to fix.  I just applied that patch thanks to dhatz, i dont know what that will fix but we will see.  I have rebooted since applying.

                                        So i have 1 client. His MAC is not even in the Captive Portal MAC passthrough list, he is on the DHCP Leases list and also on the ARP Table. Lightsquid logs shows his usage.  I currently see him onlne and see the Lightsquid logs for this user changing so i assume he is browsing, however.. i just did a ipfw show and his MAC is not in there at all…

                                        What is going on here??

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          wallabybob
                                          last edited by Nov 20, 2011, 11:56 PM

                                          Your clients need to have an IP address before they can talk with the captive portal. Hence they could well have ARP entries and DHCP leases and still not be able to communicate with the web.

                                          I don't know about Lightsquid - perhaps it captures a web access BEFORE it gets to Captive Portal.

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            [[user:consent.lead]]
                                            [[user:consent.not_received]]