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

    Wake On Lan perl script - Wake based on interface, Regular Expression or MAC

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 1.5k 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.
    • S
      stompro
      last edited by

      Hello, I created a perl script to wake machines behind pfSense firewalls.  I created it because I wanted something more flexible than using wget to grab the wake on lan url to either wake a specific MAC address or to trigger the wake all function.  I thought it might be useful for others.  If anyone has any enhancement requests please let me know and I'll see what I can do.

      https://github.com/stompro/pfsense-wol-filter

      The script allows you to select which machines to wake up based on the following.

      Specific MAC address - works like normal.

      Interface - wakes all machines on a specific interface.

      Regular Expression - wakes all machines that have a description that matches the regular expression you use.

      Josh

      Hardware used: Alix 2D13 X 10, APU2D4 X 10, SG-2200 X 10, SG-2440 X 4

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