Simulate Traffic over OPNsense Firewalls (Troubleshooting/CICD/IaC)

Started by OXL-Rath, November 01, 2025, 01:02:20 PM

Previous topic - Next topic
Greetings - I hope you are having a nice day (:

Just wanted to post about a tool I created for simulating network-traffic across firewalls.

This can be useful for:

* Troubleshooting problems with complex rulesets
* Troubleshooting issues where you do not control the source
* Analysing problems without access to the firewall (the admin/user only needs to send you the config-backup & network-export)
* Automating regression tests (CI/CD and Infrastructure-as-Code)
* More

Links:

* Documentation
* GitHub: O-X-L/firewall-testing-framework (and soon Codeberg..)
* PyPI: pip install firewall-test

BTW: It also works for Linux-Netfilter (IPTables/NFTables)

I would be happy to get some feedback - and feel free to contribute to the project :D :+1:



Edit: Adding Preview-GIF
Web: www.OXL.at

Checkout:
* Ansible Collection for OPNsense: https://github.com/O-X-L/ansible-opnsense
* Python Client for OPNsense: https://github.com/O-X-L/opnsense-api-client
* Simulating Traffic over Firewalls:  https://github.com/O-X-L/firewall-testing-framework