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

    Allow Internet access only for DHCP/static (pfSense) assigned IP addresses

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 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.
    • O
      openletter
      last edited by

      I am wondering if there is a way to only allow Internet access to devices that have assigned IP addresses? I don't want to use whitelists, but I do want to only allow devices that have IP addresses assigned by pfSense either from static mappings or the DHCP server to access the Internet.

      pfSense 2.4.3-RELEASE (amd64) installed to PC on Samsung 860 EVO mSATA 256 GB SSD with Supermicro X11SBA-LN4F, Intel Pentium N3700, 4 GB RAM, 4 mobo 10/100/1000, 1 PCIe 10/100/1000 x4 NIC (HP NC364T), and APC Smart-UPS SMT1500.

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

        Hi,

        need more details about you setup ( one LAN interface or more ) but did you check at Services: DHCP server

        options:

        Deny unknown clients

        Enable Static ARP entries

        and also

        set pass rule in your interface to pass traffic only from that interface network ?

        1 Reply Last reply Reply Quote 0
        • M
          muswellhillbilly
          last edited by

          Create an alias to populate your static (allowed) IPs with. Set your static DHCP mappings to your allowed devices and amend the Default-to-any rule to allow traffic from just the alias you created earlier.

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