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

    Not able to block PING to an AP

    Scheduled Pinned Locked Moved General pfSense Questions
    21 Posts 6 Posters 3.0k 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.
    • GruensFroeschliG
      GruensFroeschli
      last edited by

      Moving the AP to another subnet only forces the clients to go over the firewall because they don't "know" the direct path to the AP.
      If someone sniffes traffic and see that the AP is on a different subnet, there is no stopping them from changing their IP into the subnet of the AP and access it.

      We do what we must, because we can.

      Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

      1 Reply Last reply Reply Quote 0
      • N
        neobauer
        last edited by

        Ohh ok I see, except I create a Subnet just with two hosts possible :)
        There were are discussing about, is there a way on Psense to force the clients to retrieve their IPs over the DHCP sothat no one can add manually an IP?

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          That's not possible in networking.
          You can not control the computer of anyone connecting to your wireless network.

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            There are switches that can snoop DHCP and will drop traffic from any IPs not leased from a trusted DHCP server.

            Everything OP is talking about is better accomplished at layer 2 (ie not in pfSense).

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              are you wanting to stop people from the wired network the ap is connected to or the wireless network if they connect to the AP wireless network?  With a real AP the management interface would be on different network that the wireless ssids.  Be it the management is the native vlan without tagging, and ssids tagged or with management and ssids all in their own tagged vlans.

              This would allow you to prevent access to the AP management interface be it a gui, ssh, ping etc..

              From the wired side nobody should be able to access this wired network that would not be authed either with 802.1x or just physical security to the network were no ports on that network are in open areas, etc.

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              1 Reply Last reply Reply Quote 0
              • N
                neobauer
                last edited by

                Thanks,
                but you are talking about a "a real AP the management interface".
                For now, I'm just using a self-made-AP with Raspiberry. Also I'm not familar with creating VLANs within Pfsense. can someone guide me please ?

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  your AP is a raspberryPI?  What wireless did you connect to it?  What OS are you running?  Why would you do that?  When you could use any wireless router as an AP.  They can be had for 20$ that I would have to assume would blow away the usb wireless that you could add to a raspberryPI box..

                  I can understand not having the budget/money for an enterprise class AP..  Can your home made pi AP do vlans, what OS is is running Raspbian, Pidora, Risc, Arch, other??

                  Enable firewall and block it on the AP would be your other option.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • N
                    neobauer
                    last edited by

                    Yes RaspberryPI. It's for home and also for a miniproject at the school. So we need to do it byself :)
                    Raspbian is running on.
                    So you mean create rules in Raspbian right ? I though also about it, but I don't which rule to write or which rule will correspond to that ? Meaning blocking Pings etc.. to the AP. on this Raspi, I have also apache server.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      here is simple guide on setting up firewall on raspbian

                      http://www.heystephenwood.com/2013/06/setting-up-firewall-on-your-raspberry-pi.html

                      Setup rule to only allow your management IP to ping (icmp) to ssh and if your serving up the gui for the AP in apache then block all but your IP, etc.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • A
                        AIMS-Informatique
                        last edited by

                        A good login/Pass on the AP would do the trick ? :)

                        Seriously, while in the same subnet (thus not firewalled) everything happens locally into that subnet. You should protect your AP with its built-in options : AN option like "block admin / management from Wireless side" "Block wireless management" often populate APs for that reason.

                        And yes, you should concider a dedicated subnet for your WLAN subnet. Do not bridge it if you want to use PFSense features.

                        1 Reply Last reply Reply Quote 0
                        • N
                          neobauer
                          last edited by

                          Hi Guys,Thanks for your advice !

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