pbf.py listens for directed broadcasts and forwards them over the correct interface. Examples for directed broadcasts are Wake-on-LAN and Windows SCCM.
pbf.py has been tested on Linux.
Python needs to be installed on your router.
-
Copy the file pbf.py on your Linux router
-
Set the correct permissions, for example chown root:root pbf.py chmod 755 pbf.py
-
Run the script using the command pbf.py -s SOURCE_IP -b BROADCAST_IP -p DESTINATION_PORT --loglevel [0-5] Note that pbf.py accepts multiple IPs after
-b
parameters
- Start the script on your router.
- Send a directed broadcast to the router.
- Check if the broadcast arrives in the correct subnet.