Access your Raspberry Pi remotely
This tutorial will explain how to install LocalXpose in your raspberry pi and enable it on boot and access your services anytime anywhere.
1. SSH into the raspberry pi
ssh pi@192.168.1.112. Download LocalXpose
wget https://api.localxpose.io/api/v2/downloads/loclx-linux-arm.zip3. Unzip LocalXpose
unzip loclx-linux-arm.zip5. Create a unit file
nano localxpose.service[Unit]
Description=localxpose
After=network-online.target
[Service]
ExecStart=/home/pi/loclx tunnel http --reserved-domain pi.xtestgo.xyz --to 8000
Restart=always
RestartSec=15
[Install]
WantedBy=multi-user.target6. Copy the service file to system directory
7. Reload the systemd manager
8. Login through the CLI
9. Enable the service to be run on boot
10. Run LocalXpose service
Last updated