Skip to content

Sidarion/python-broadcast-forwarder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Broadcast Forwarder

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.

Getting started

Prerequisites

Python needs to be installed on your router.

Installing

  1. Copy the file pbf.py on your Linux router

  2. Set the correct permissions, for example chown root:root pbf.py chmod 755 pbf.py

  3. 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

Testing

  1. Start the script on your router.
  2. Send a directed broadcast to the router.
  3. Check if the broadcast arrives in the correct subnet.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages