TORQ is a Node management software by LNCapital, for large Lightning Network nodes, that can brings you a lot of useful informations about traffic on your node and can also allow a well tuned management.

It’s a must for your node. In this article we will examine how to install and configure on a VPS where you connect to a remote LND node backend.

first of all download the install script

curl -fsSL

then run it with


follow the procedure. For this install, choose “host” as network connection. It will install all the scripts in default dir .torq . Then do not configure manually the torq.conf file (a part setting an admin password), because not necessary. do the following steps instead:

  • download the tls.crt file and read-only macaroon from voltage or your node;
  • define a public domain for your install. for example: . You must point DNS record to your TORQ machine

Now let’s get the certificate for your domain:

sudo certbot certonly --manual --preferred-challenges dns

Now configure nginx. Add this new site, with file and this content

server {
        # torq
        listen 443 ssl;

        # allow only for your connection IP or VPN
        allow  xx::/64;
        deny   all;

        access_log /var/log/nginx/reverse-access.log;
        error_log /var/log/nginx/reverse-error.log;

        location / {

                proxy_redirect off;
                proxy_set_header Host $http_host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto https;
        ssl on;
        ssl_certificate /etc/letsencrypt/live/;
        ssl_certificate_key /etc/letsencrypt/live/;


Please note that the allow/deny section is optional and required to restrict access to your only IP. This is suggested for security reasons. In this way you can connect only to the torq interface and this is not open to everybody on the Internet

Now restart nginx to load the new configurazione.

In order to run torq, just run as follows::

cd ~/.torq

at first run the needed images will be downloaded from dockerhub.

  • connect to torq with your browser at
  • from the GUI in settings section for adding your node.
  • in case of voltage put
  • upload your tls.crt file and macaroon. it does not matter if hex or not.

Now you should be able to connect.