Automated Firewall Policy Generation with Reinforcement Learning

Network security would be incomplete without firewalls that control traffic flow through rule-based policies. The manual way to configure and manage firewall rules, however, is prone to various pitfalls; rules tend to become overly complex, human error occurs, and cyber threats continue to evolve. This work investigates the reinforcement learning (RL) - driven method for firewall policy generation, utilizing RL as an automated means for policy generation to increase adaptability and reduce administrative overhead. The proposed system utilizes RL agents that learn an optimal policy from real-time network traffic and dynamically update firewall rules to maximize security while minimizing false positives and latency. The key contributions of this work include a novel system architecture that integrates reinforcement learning (RL) with existing firewall frameworks, as well as methodologies for data collection, feature engineering, and reward function design. Additionally, the system is evaluated using simulated network environments and benchmark datasets. It is demonstrated that the RL-based system achieves better accuracy in threat detection compared to traditional static or heuristic approaches, as well as improved policy effectiveness and network performance. Computational cost, explainability, exploration risks, and model generalization are discussed, and future research directions in transfer learning, multi-agent coordination, and integration with broader security frameworks are addressed. This work moves the field closer to realizing real-time, intelligent, and adaptive firewalls that can handle today's cybersecurity challenges. It motivates further exploration of more secure, interpretable, and production-ready RL-driven security solutions.

Publication Details

Journal
International journal of IoT
Published
2025-06-24
DOI
https://doi.org/10.55640/ijiot-05-01-10
Primary Topic
Network Packet Processing and Optimization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Firewall Policy Generation with Reinforcement Learning

International journal of IoT
Network Packet Processing and Optimization
article

Automated Firewall Policy Generation with Reinforcement Learning

article en

Abstract

Network security would be incomplete without firewalls that control traffic flow through rule-based policies. The manual way to configure and manage firewall rules, however, is prone to various pitfalls; rules tend to become overly complex, human error occurs, and cyber threats continue to evolve. This work investigates the reinforcement learning (RL) - driven method for firewall policy generation, utilizing RL as an automated means for policy generation to increase adaptability and reduce administrative overhead. The proposed system utilizes RL agents that learn an optimal policy from real-time network traffic and dynamically update firewall rules to maximize security while minimizing false positives and latency. The key contributions of this work include a novel system architecture that integrates reinforcement learning (RL) with existing firewall frameworks, as well as methodologies for data collection, feature engineering, and reward function design. Additionally, the system is evaluated using simulated network environments and benchmark datasets. It is demonstrated that the RL-based system achieves better accuracy in threat detection compared to traditional static or heuristic approaches, as well as improved policy effectiveness and network performance. Computational cost, explainability, exploration risks, and model generalization are discussed, and future research directions in transfer learning, multi-agent coordination, and integration with broader security frameworks are addressed. This work moves the field closer to realizing real-time, intelligent, and adaptive firewalls that can handle today's cybersecurity challenges. It motivates further exploration of more secure, interpretable, and production-ready RL-driven security solutions.

International journal of IoTVol. 5(1)
Openalex Percentile: Top 86%
Network Packet Processing and Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.