Access PiKVM from anywhere
PiKVM is a Raspberry Pi-based KVM over IP solution. It allows you to connect to a computer remotely and use it as if you were sitting in front of it. This guide shows you how to set up Tailscale on PiKVM.
To find out more about PiKVM, visit pikvm.org.
Prerequisites
- A PiKVM device or a Raspberry Pi with PiKVM installed.
- You’ll also need a Tailscale account. You don’t need to pay for Tailscale—this is possible on the Free plan!
Install Tailscale
-
Access your PiKVM via the web interface and open the web terminal.
-
Elevate to root.
# default password is 'root' su -
-
Enable read-write mode.
rw
If you reboot your PiKVM during this process, you will need to re-enable read-write mode. -
Install the
tailscale-pikvm
package.pacman -Syu tailscale-pikvm
This will also perform a full system upgrade. -
Enable and start the Tailscale service.
systemctl enable --now tailscaled
-
Log in to Tailscale.
For more information on the available login options, see our Command Reference.
tailscale up
-
Revert to read-only mode.
ro
Access your PiKVM device
Once you have installed Tailscale on your PiKVM device, you can access it from anywhere using the Tailscale network.
Open the Tailscale admin console and find your PiKVM device.
You can access the web interface by visiting https://<your-pikvm>.<your-tailnet>.ts.net
. For example, if your PiKVM
device is named pikvm
and your Tailscale network is named pango-lin
, you would visit
https://pikvm.pango-lin.ts.net
.
Use Tailscale Serve to access your PiKVM device
You can set up Tailscale Serve to proxy connections to your PiKVM device. This has the advantage of providing a valid TLS certificate for your PiKVM device, which will prevent your browser from displaying a security warning.
To setup Tailscale Serve, follow the instructions below. You can also find more information on our Use Tailscale Funnel and Serve article.
tailscale serve https / https+insecure://localhost:443
After running the command above, you can access your PiKVM device, as before, by visiting
https://<your-pikvm>.<your-tailnet>.ts.net
. The difference is that the connection will be proxied through your
Tailscale Serve server, which will provide a valid TLS certificate for your PiKVM device.