Skip to main content

Spin-off Raspberry Pi node in consumer mode

Andzej Korkuz avatar
Written by Andzej Korkuz
Updated this week

Spin-off Raspberry Pi node in consumer mode

By default, a Raspberry Pi node runs in provider mode (sharing bandwidth with the network). You can also run it in consumer mode, which allows the device itself to connect through the Mysterium Network as a VPN client.

SSH into your Raspberry Pi

Connect to your Pi using SSH from another computer:

ssh pi@<your-rpi-ip-address>

Edit the service file

Open the mysterium-node.service file:

sudo nano /lib/systemd/system/mysterium-node.service

Replace this line:

ExecStart=/usr/bin/myst $CONF_DIR $SCRIPT_DIR $DATA_DIR $RUN_DIR $DAEMON_OPTS service --agreed-terms-and-conditions $SERVICE_OPTS

With this line:

ExecStart=/usr/bin/myst $CONF_DIR $SCRIPT_DIR $DATA_DIR $RUN_DIR $DAEMON_OPTS daemon

Save and close the file.

Reload and restart the service

Run the following commands to apply the changes:

sudo systemctl daemon-reload sudo systemctl restart mysterium-node

Done

Your Raspberry Pi is now running in consumer mode and can establish VPN connections through the Mysterium Network

Did this answer your question?