Skip to content
wiki auto updater edited this page Jun 10, 2024 · 9 revisions

A node is a daemon running on a machine. You can install the daemon on multiple machines, and manage them from the server (i.e.:GUI).

ℹ️ Note: if you want to install only the daemon from the Debian repositories, you'll have to execute this command:

$ sudo apt install --no-install-recommends opensnitch (otherwise it'll install both, the daemon and the GUI)

image

You can view the list of known nodes from the tab Nodes:

image

And by double clicking on a node, you can see the network activity for that node.

Configuration

As explained in the Configurations section, you have to launch the daemon as follow in order to accept connections from remote nodes:

$ /usr/local/bin/opensnitch-ui --socket "[::]:50051"

It'll make the GUI listen on port 50051, any IP. You can also use an IP: $ /usr/local/bin/opensnitch-ui --socket "127.0.0.1:50051"

Now you need to configure each node to connect to the server. In /etc/opensnitchd/default-config.json set the Address field to the server address:

    "Server":
    {
        "Address":"192.168.1.100:50051",
    },

Once a node is connected, you can also change it from the GUI, without connecting to the node via SSH, etc:

image

(the field Address refers to the server address where the node will connect to)

Clone this wiki locally