К содержанию
РецензированоEN2025

Automated Firewall Policy Generation with Reinforcement Learning

Ashutosh Chandra Jha · Network Security Engineer

Международный журнал IoT · 05 · 190-211 · 2025

Аннотация

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. Keywords: Firewall automation, Reinforcement learning, Network security, Adaptive policies, Cyber threat detection 1. INTRODUCTION Firewalls are critically important network security devices as they act as gatekeepers that determine the flow of traffic into and out of computer networks. Therein lies the heart of what their operation is all about — firewall policies or sets of rules that determine which data packets should be allowed to pass and which to block. These policies enable networks to protect themselves by denying unauthorized entry, removing potentially harmful data, and permitting the safe and legitimate exchange among connected devices. This is a testament to the growing complexity of cyber threats, for which firewalls are becoming increasingly essential tools with ever stronger and more efficient firewall policies to ensure network security and integrity. In the traditional case, firewall policies are written manually by those analyzing network requirements and security considerations to create a rule at a time. This approach works well when the network is much smaller or simpler, but rapidly breaks down as network size and complexity grow. Enterprise networks in the modern world often https://www.academicpublishers.org/journals/index.php/ijiot 190 AMERICAN ACADEMIC PUBLISHER require hundreds or even thousands of firewall rules to support the diverse range of devices, applications, and various types of traffic they accommodate. With this large and dynamic rule set, managing it manually creates numerous issues: for example, it is easy to develop either rule conflicts or overlaps or to miss existing rules. The errors may occur accidentally, creating security vulnerabilities or interfering with legitimate network operations, which can result in costly downtime or a breach. Ultimately, the manual process is both time-consuming and prone to errors, placing a significant burden on on-site administrators. This creates these challenges, which are exacerbated by the rapidly evolving nature of cyber threats. Network traffic patterns are unpredictable due to the continuous development of new attack tactics, techniques, and procedures. These rapidly changing vectors make vectors render static firewall policies, which are configured once, quickly outdated. The problem is that purely human-written rules leave networks vulnerable to emerging threats, inadvertently blocking legitimate traffic with outdated or overly restrictive policies. This imposes a great need for automated and intelligent firewall management systems that can dynamically adapt to the real-time state of the network and the evolving threat landscape. There are several benefits to automating the generation of firewall policies. Continuously monitoring network traffic, analyzing traffic patterns, and adapting policies automatically in real-time helps reduce human error as well as the administrative overhead associated with updating manual rules. Such systems enable networks to respond quickly to new attacks or changing conditions, thereby enhancing overall network security and improving its operational efficiency. However, automated solutions that learn and perform well in complex network environments wh

Доказательный фрагмент

«Network security would be incomplete without firewalls that control traffic flow through rule-based policies.»

Образец извлечения

Демо-превью

Network security would be incomplete without firewalls that control traffic flow through rule-based policies. Полный текст публикации CiteX не хранит — доступ к первоисточнику открывается по DOI согласно лицензии издателя и выбранному плану.

Цитирований
0
Просмотров
0
Тип
Журнал
Страна
Узбекистан
Ключевые слова
Firewall automation, Reinforcement learning, Network security, Adaptive policies, Cyber threat detection
Открыть DOI
Спросить CiteX об этой работе

Смежные источники