Guide: Connect Zeus to LND via local port and VPN (fast)

If you want to connect to your LND without TOR or LNC its not possible, but with this guide you are able to. For my side I use it with my own Wireguard and its the fastes way to connect to my/your node.

Log in to Start9 with ssh

Switch to root user
sudo -i

Switch to “chrooted”
/usr/lib/startos/scripts/chroot-and-upgrade

Install Simpleproxy
apt update && apt install simpleproxy -y

Insert the following for LND on port 10009

cat > /lib/systemd/system/simpleproxy.lnd.grpc.service <<‘EOL’
[Unit]
Description=simpleproxy LND gRPC forward
Wants=podman.service
After=podman.service

[Service]
Type=simple
Restart=always
RestartSec=3
ExecStartPre=/bin/bash -c “/bin/systemctl set-environment IP=$(ip route | grep default | awk ‘{print $9}’ | head -1)”
ExecStart=/usr/bin/simpleproxy -L ${IP}:10009 -R lnd.embassy:10009

[Install]
WantedBy=multi-user.target
EOL

And then insert this for LND REST on port 8081

cat > /lib/systemd/system/simpleproxy.lnd.rest.service <<‘EOL’
[Unit]
Description=simpleproxy LND REST forward (host port 8081 to container 8080)
Wants=podman.service
After=podman.service

[Service]
Type=simple
Restart=always
RestartSec=3
ExecStartPre=/bin/bash -c “/bin/systemctl set-environment IP=$(ip route | grep default | awk ‘{print $9}’ | head -1)”
ExecStart=/usr/bin/simpleproxy -L ${IP}:8081 -R lnd.embassy:8080

[Install]
WantedBy=multi-user.target
EOL

Start the proxy
systemctl enable simpleproxy.lnd.grpc
systemctl enable simpleproxy.lnd.rest

Close window with command (system restarts)
exit

After restarting
In Start9 you can now open LND > Properties > “LND Connect REST URL” code > and scan it with Zeus in LND REST mode. Delete the server address and only enter the local IP of your Start9 node, change the port to 8081 & deactivate use Tor and save the config.

Now you can access your node damn fast locally or via your own VPN, e.g. Wireguard.

1 Like