Manage rule groups

This page shows you how to add, create, import, and share rule groups. For what rule groups are and which ones come with Little Snitch, see Rule groups.

Which kind of rule group you need depends on what you want to do:

All new rule groups start at the same place: the add button next to the Rule Groups heading in the sidebar of the Rules window.

macOS Services and iCloud Services

The factory rule groups macOS Services and iCloud Services are in the Rule Groups section of the sidebar from the start, so there’s nothing to add. To enable or disable one, select or clear its checkbox. To learn what these groups allow, see Factory rule groups.

App rule groups

The factory rule groups Apple Apps and Third Party Apps are app rule groups: they contain allow-rules for all apps from Apple, or for all third-party apps on your Mac. They aren’t in the sidebar until you add them, because Little Snitch builds them from the apps that are installed at that moment. To learn what these groups allow, see Factory rule groups.

To add an app rule group:

  1. In the sidebar of the Rules window, click the add button next to the Rule Groups heading.
  2. Choose Apple Apps or Third Party Apps.

Little Snitch looks for apps in all the usual locations and adds the group. The group starts out disabled, so you can check its rules before you enable it.

From then on, the group is yours, and you can change it just like a local rule group, see Edit and delete rule groups.

Local rule groups

A local rule group lets you turn a set of your own rules on or off at once. In that respect, it’s similar to a profile. But unlike profiles, you can have as many rule groups enabled as you like.

To create a local rule group:

  1. In the sidebar of the Rules window, click the add button next to the Rule Groups heading.
  2. Choose Local Rule Group…. The group editor opens.
  3. Enter a name and a description for the new group.

Then drag rules onto the group, or create new rules right in it.

Edit and delete rule groups

App rule groups and local rule groups are under your control:

Import rules from a file

The easiest way to move rules from one Mac to another is to export them on one Mac with File > Export Selected Rules…, and import the resulting .lsrules file on the other. The rules end up in a local rule group.

If the configuration is locked, unlock it first: click Locked in the toolbar of the Rules window, then click Unlock, or choose File > Unlock Configuration. Then:

  1. Choose File > Import Rules…, or click the add button next to the Rule Groups heading in the sidebar and choose Import Local Rule Group….
  2. Select the .lsrules file.
  3. In the pop-up menu Target Rule Group, choose Create New Rule Group or an existing local rule group.
  4. If you chose an existing rule group, choose a Merge Strategy (see below).
  5. Click Import.

To import into a particular local rule group directly, right-click the group in the sidebar and choose Import Rules…. You can also double-click an .lsrules file in Finder: the Little Snitch app then shows the same options.

If the file contains rules for Anyone and Allow Global Rule Editing is off in Settings > Security, Little Snitch asks what to do:

When you import into an existing rule group, the Merge Strategy decides what happens to the rules that are already in it:

A new rule group gets its name and description from the .lsrules file, or the file name if the file has no name.

When the import is complete, Little Snitch tells you how many rules it added and removed, and shows you the imported rules in their group. From then on, they’re ordinary rules in a local rule group: Little Snitch doesn’t update them from the file. If you want automatic updates, use a remote rule group instead.

Remote rule groups

Remote rule groups work much like blocklists, but they can contain any kind of rule, not just deny-rules for Any Process. They’re the way to share rules between Macs, for example in a company or a family: you maintain the rules in one place, and every Mac picks up your changes automatically.

Put the rules on a server

A remote rule group needs a URL where Little Snitch can download the rules in .lsrules format:

  1. In the Rules window, select the rules that you want to share.
  2. Choose File > Export Selected Rules…. Little Snitch saves them as an .lsrules file, in JSON syntax.
  3. Put the file on a secure (HTTPS) server with a valid certificate.

Little Snitch doesn’t download rules over insecure connections, and self-signed certificates or certificates from your own certification authority don’t work. A free certificate from Let’s Encrypt is fine.

No secure server of your own? Use gitlab.com or github.com. A gitlab.com snippet is easiest, because it doesn’t need a repository. In Little Snitch, use its raw download link.

Without any server, you can still import the .lsrules file into a rule group on each Mac. You just don’t get automatic updates.

Add the remote rule group

On each Mac that should use the rules:

  1. In the sidebar of the Rules window, click the add button next to the Rule Groups heading.
  2. Choose Remote Rule Group….
  3. Enter the URL.
  4. Click Add.
  5. If Allow Global Rule Editing is off in Settings > Security, enter the name and password of an administrator.

Add Remote Group

Little Snitch downloads the rule group and opens its settings. To open them again later, double-click the rule group.

Settings of a remote rule group

Remote Rule Group Editor


© 2016-2026 by Objective Development Software GmbH