Endwall 09/04/2022 (Sun) 00:41 No.1814 del
Local Security Policy

There are firewall settings that don't change when new programs modify windows advanced firewall. These rules sit beneath and supersede the main windows advanced firewall rules.

Type here to search-> "Local Security Policy" -> Click Local Security Policy.

There is a folder Windows Defender Firewall, with the same layout. Put your rules in here and they won't change, and they override the other rules.

I have also found out that these rules can be scripted by the command netsh, so I might make something later on.