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

    Blocking off wireless network.

    Firewalling
    3
    64
    13.6k
    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

      My curent setup is my pfsense machine plugged into my powerconnect 2724 and then I've got a wireless router plugged into the switch.

      Im looking for the best way to isolate certain traffic from the WLAN network from hitting things within my LAN network.

      I don't wanna block off WLAN from LAN entirely. But I'm looking for ideas on how to have pretty much just my phone or any other devices I want to add in the future that is connected via WLAN be able to access stuff on my LAN network.

      Router is set up on 192.168.2.x
      pfsense box is set up on 10.0.0.x

      Right now the two can't communicate with anything on eachothers networks period.

      Ultimately I wan't my router to run DHCP leases through my pfsense box, I experimented with that a little bit but ended up having to reset my router about 20 times because I was no longer able to communicate w/ it even after setting my ip as a static on the router.

      Any tips?

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

        WTF - You are doing it wrong…

        Make pfsense your sole router - no double NAT.
        Give the WLAN either its own interface and subnet or its own vlan and subnet.

        Then you can control all this as you like.  So, WTF...  Enjoy.

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

          The only other way I could add WLAN to my pfsense box is if I did a USB interface.

          Not a horrible idea really.

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

            WTF - You can't use a wireless AP plugged into a NIC?  Like all the rest of us?
            Well - maybe not ALL of us, but alot…

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

              @kejianshi:

              WTF - You can't use a wireless AP?  Like all the rest of us?

              No, Im complicated :)

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