Linux

Where Does OpenSnitch Store Rules and Config on Linux?

OpenSnitch keeps daemon config in /etc/opensnitchd with per app rules beside it.

Last updated

OpenSnitch splits daemon settings from firewall rules. /etc/opensnitchd holds opensnitchd.conf plus the rules tree with per application allow and deny entries. The GUI writes the same files when you click through prompts.

Back up the whole /etc/opensnitchd tree to migrate decisions. Rule files are JSON per app and merge cleanly. Restart the daemon after restores and confirm the default action matches your stance.

Where OpenSnitch stores this, by platform

Linux
/etc/opensnitchd

Daemon conf plus rules folder. Root owned. Copy with the daemon stopped for consistent restores across machines.

Frequently asked questions

How do I back up OpenSnitch rules?

Copy /etc/opensnitchd whole, rules included. Restore to the same path and restart the daemon. Test with one new connection prompt.

Where is the OpenSnitch default action?

In opensnitchd.conf default action setting. Rules override it per app. Changing the default affects every undecided connection at once.

Notice an outdated path? Let us know.