Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to manage thousands of firewall rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to manage thousands of firewall rules (Read 3254 times)
aa007
Newbie
Posts: 1
Karma: 0
How to manage thousands of firewall rules
«
on:
February 21, 2019, 04:01:26 pm »
Hi,
we are in a process of choosing a replacement for our old Linux firewall. We currently use Shorewall framework to control IP tables. Currently we have something around 5000 rules. Our environment is restrictive, so when an user wants to connect to a production server, we need to add a rule for it. Now we have a config file per user, so using zone based approach allows us to easily see where any user can connect - so auditing is somehow easy.
We like OPNsense but we cant find any reasonable method how to migrate this number of rules into it. Is anyone using OPNsense with this high amount of rules? How to manage it? We dont want to list through hundreds of rules on one page until we find the correct ones - this will be a place for making a lot of mistakes.
Thanks for any ideas.
Logged
bartjsmit
Hero Member
Posts: 2017
Karma: 194
Re: How to manage thousands of firewall rules
«
Reply #1 on:
February 21, 2019, 06:28:02 pm »
I would separate the security policy from the firewall - i.e. create a policy database of rules and write an import script to import the current iptables rules from Linux and apply them to your new firewall via an export script.
I don't know if the OPNsense API is capable of implementing rules, but the config file is straightforward XML with <rule></rule> elements.
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to manage thousands of firewall rules