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

    Blocking off wireless network.

    Scheduled Pinned Locked Moved Firewalling
    64 Posts 3 Posters 13.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.
    • C
      CaptainWTF
      last edited by

      I do have a 3rd NIC available to me on the pfsense box….

      But how do I still accomplish what it is I'm looking to do?

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

        Use that 3rd NIC and put your AP on that - Then you will have very fine control over what can talk to what.
        That sounds good to me.  I say WTF…  Why not try it.

        P.S.  "Ultimately I wan't my router to run DHCP leases through my pfsense box".

        Why wouldn't you have pfsense doing the routing, firewalling, and DHCP?  I read somewhere its pretty good at those things...

        1 Reply Last reply Reply Quote 0
        • C
          CaptainWTF
          last edited by

          @kejianshi:

          Use that 3rd NIC and put your AP on that - Then you will have very fine fine control over what can talk to what.
          That sounds good to me.  I say WTF…  Why not try it.

          The only reason I'm hesitant to do that is because its onboard nic, not really a bad thing but wouldn't using onboard use more processing power as compared to using the intel dual gbe nic i'm using now?…

          And lets say theoretically I do take that approach and plug the AP into my 3rd nic,

          How does it have to be set up necessarily ( I R NETWURK NEWB) are we talking about the ap pulling DHCP leases from the pfsense box or what?

          And to block the router from having access to webUI i'd just set up a firewall rule I assume.

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            @CaptainWTF:

            I do have a 3rd NIC available to me on the pfsense box….

            But how do I still accomplish what it is I'm looking to do?

            As already said above:

            • Make pfSense your (only) router.
            • On pfSense, create a reserved subnet for the WLAN
            • Disable WAN on the AP, disable everything else (like DHCP server, etc.)
            • Configure purely as AP
            • Plug into the third NIC
            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              Onboard isn't necessarily bad. - Onboard NIC might be good.  Depends on the NIC.
              I doubt seriously it will cause any noticeable increase is system overhead.

              WTF - YOLO…  Give it a shot.  You might like it.

              (You are lucky your name isn't CaptainMF)

              "are we talking about the ap pulling DHCP leases from the pfsense box or what?"

              Ahhhhhhhh....  Yeah. ;)
              There are some special APs that will let you do that...  Like - All of them.

              1 Reply Last reply Reply Quote 0
              • C
                CaptainWTF
                last edited by

                Alright lets see what I can do here lol.

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

                  Cool - Do it exactly the way doktornotor  described above - When you add the new interface, don't forget to activate DHCP and to give it a new / unique IP and DHCP range.  Then set firewall rules to allow traffic, similar to what you have on LAN (I hope).
                  And WTF, if you have any issues, I'll check back to see if I can help.  Its not difficult.

                  1 Reply Last reply Reply Quote 0
                  • C
                    CaptainWTF
                    last edited by

                    I haven't a clue what the fuck happened but now the machine doesn't work at all. I don't even get video output from it…. -.- Gonna do a bios reset and let it sit for a bit.

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      Well, if the machine's hostname is "wtf", that'd kinda explain it…  ;D ;D ;D

                      1 Reply Last reply Reply Quote 0
                      • C
                        CaptainWTF
                        last edited by

                        @doktornotor:

                        Well, if the machine's hostname is "wtf", that'd kinda explain it…  ;D ;D ;D

                        LOL, Well i've a HDMI, VGA, and DVI port on this beast. I checked DVI/HDMI no go. So I pulled power to PSU, shut off PSU, Pulled CMOS battery. jumped the reset pins on the board. let it sit for 5 min. now it shows me something on the screen. So let me see if I can't get back to breaking stuff. :P

                        1 Reply Last reply Reply Quote 0
                        • C
                          CaptainWTF
                          last edited by

                          So Now i have WAN, LAN, and OPT1 interfaces.

                          Renamed OPT1 to AP

                          Type should be?…. DHCP or static?

                          Should be static...

                          Now as far as what kejianshi said about giving it a new IP and DHCP range elaborate further?

                          1 Reply Last reply Reply Quote 0
                          • D
                            doktornotor Banned
                            last edited by

                            Just set up DHCP server on the AP interface.

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

                              The OPT1 should have a static IP just like the LAN, but a different subnet.
                              Then go to DHCP server and set up DHCP for that interface, just like the LAN (but different subnet).

                              WTF - You can do it…

                              Purely for instance:

                              LAN - Static IP of 10.10.30.1 set up as a /24 and in DHCP range of 10.10.30.50 - 10.10.30.150

                              OPT1 - Static IP of 10.10.40.1 set up as a /24 and in DHCP range of 10.10.40.50 - 10.10.40.150

                              Just as an example...

                              If that doesn't work, I don't know WTF is wrong...  Captain.

                              1 Reply Last reply Reply Quote 0
                              • C
                                CaptainWTF
                                last edited by

                                Okay, theres that.
                                http://img38.imageshack.us/img38/2925/ov3c.png

                                Finally I got it set up properly.  The pfsense box has assigned the AP an ip of 10.0.1.10, Now on the AP side of things I believe i'm sticking it into straight up AP mode. no DHCP or anything, which should have it pull addresses from the pfsense machine I believe.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  doktornotor Banned
                                  last edited by

                                  WTF, looks like it works!  :o ;D

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    CaptainWTF
                                    last edited by

                                    @doktornotor:

                                    WTF, looks like it works!  :o ;D

                                    So far, Only problem is the AP interface doesn't pull WAN connection.

                                    And how do I get the AP to pull DHCP requests from the PFsense box, Its running DD-WRT

                                    I tried at one point to have it pull DHCP requests from the pfsense box but it ended up making the AP inaccessible via webgui and telnet so I had to reset it.

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      doktornotor Banned
                                      last edited by

                                      @CaptainWTF:

                                      So far, Only problem is the AP interface doesn't pull WAN connection.
                                      And how do I get the AP to pull DHCP requests from the PFsense box, Its running DD-WRT
                                      I tried at one point to have it pull DHCP requests from the pfsense box but it ended up making the AP inaccessible via webgui and telnet so I had to reset it.

                                      You should follow the docs:

                                      http://www.dd-wrt.com/wiki/index.php/Wireless_Access_Point#Long_Version

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

                                        Yeah - I have a DDWRT set up as AP like you want - Following that manual will do it.
                                        Caution - During that whole process, make sure you are SAVING after every step - Not applying.

                                        Do apply at the very end, then under admin interface in DDWRT, at very end, reboot.
                                        Make sure you tell the AP to grab a static IP outside the DHCP range on OPT1.

                                        Should be all good.

                                        1 Reply Last reply Reply Quote 0
                                        • D
                                          doktornotor Banned
                                          last edited by

                                          +1, works perfectly fine here.

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            CaptainWTF
                                            last edited by

                                            @kejianshi:

                                            Yeah - I have a DDWRT set up as AP like you want - Following that manual will do it.
                                            Caution - During that whole process, make sure you are SAVING after every step - Not applying.

                                            Do apply at the very end, then under admin interface in DDWRT, at very end, reboot.
                                            Make sure you tell the AP to grab a static IP outside the DHCP range on OPT1.

                                            Should be all good.

                                            Followed those instructions SPECIFICALLY. did not work. lol. AP is not assigning ip addresses. nor can I acces web UI anymore.

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