How to make IpTable Rules immutable in linux

AmirSalimi

New Member
Joined
Aug 9, 2023
Messages
2
Reaction score
1
Credits
20
I work on Linux and want to add rules to iptable. I want these rules to be immutable anyway (either changed or deleted). What should I do? Note that for me the rules that are running and kept in memory are important, not the rules that are stored in the iptable rules file.

I found a way to save the rules in a file and compare them with the rules backup file and detect the changes, but it's not a good way, I think it's too slow and there are ways to bypass this check.
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,958
Reaction score
7,928
Credits
37,771
Moving this to Linux Networking.

Good luck and welcome to the forum

Chris Turner
wizardfromoz
 

Members online


Top