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

Automate static arp

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 2 Posters 756 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.
  • E
    emoelf
    last edited by Feb 22, 2017, 2:27 PM

    I'd like to schedule a task at a given time which would enable mac address filtering for a given set of mac addresses, to be determined ahead of time. I have been trying to do this via ssh terminal and I can use the arp command to remove an entry which I included in the static arp list I set up via the console, but the associated device is still able to connect.

    1 Reply Last reply Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator
      last edited by Feb 22, 2017, 5:19 PM

      What exactly is your goal your wanting to achieve?  Why do you want to block mac - why would you not just use schedules and block the IP of said device?

      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.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • E
        emoelf
        last edited by Feb 22, 2017, 5:52 PM

        My goal is to not allow a subset of devices to connect during a specific time frame and to automate that so that I can schedule it so I don't have to be present to do it manually. If I can accomplish that with ip addresses, that's fine.  I am using dhcp and I'm not sure if a given device will always receive the same ip address.  If this is the case, can you recommend how to schedule access availability per device by ip address?

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Feb 22, 2017, 7:36 PM

          so first thing would be to setup a dhcp reservation, ie static dhcp so that client always gets the same IP.  Then create a schedule for your rules so those IPs don't have access when you don't want them to have access.

          https://doc.pfsense.org/index.php/Firewall_Rule_Schedules

          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.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received