---
title: "Instalación manual con tarball | Wantastic Docs"
description: "Instala wantasticd a mano desde el archivo de la versión en cualquier CPU Linux (incluidas ppc64, s390x y loong64), reclámalo con genkey y añade tu propio servicio."
url: "https://wantastic.app/es/docs/install-manual"
category: "Install wantasticd"
reading_time: "5 min"
---

# Instalación manual con tarball

Instala wantasticd a mano desde el archivo de la versión en cualquier CPU Linux (incluidas ppc64, s390x y loong64), reclámalo con genkey y añade tu propio servicio.

> **Outcome:** wantasticd queda instalado desde el archivo que elegiste, reclamado y en ejecución mediante un servicio que tú controlas.

## Before you start

- Root en un equipo Linux con /dev/net/tun.
- curl o wget, u otra forma de copiar un archivo al equipo.
- Un teléfono o un navegador para iniciar sesión en la consola de Wantastic.

## Instalación rápida (5 minutos)

Usa esto para CPU que el instalador no detecta, equipos sin conexión, sistemas de solo lectura o tus propias herramientas. Sustituye <arch> por el nombre de tu archivo de la matriz de versiones (amd64, arm64, arm, 386, mips, mipsle, mips64, mips64le, riscv64, ppc64le, ppc64, s390x, loong64).

1. Descarga el archivo e instala el binario con el primer bloque. ./wantasticd version debe mostrar una versión.
2. Ejecuta sudo wantasticd genkey. Escanea el código QR o abre la Claim URL, inicia sesión y haz clic en Claim Device.
3. Cuando la terminal muestre "Device claimed", pulsa Ctrl+C.
4. Crea el servicio con el segundo bloque (systemd). Para otros sistemas init, consulta la siguiente sección.
5. Abre Devices en la consola. El dispositivo aparece como Online.

Descargar, instalar y reclamar:

```bash
TAG=$(curl -fsSL https://get.wantastic.app/latest | cut -d+ -f1)
curl -fsSLO https://get.wantastic.app/$TAG/wantasticd-linux-<arch>.tar.gz
tar -xzf wantasticd-linux-<arch>.tar.gz && ./wantasticd version
sudo install -m 755 wantasticd /usr/local/bin/wantasticd
sudo wantasticd genkey
```

Tras "Device claimed": pulsa Ctrl+C y crea el servicio systemd:

```bash
sudo tee /etc/systemd/system/wantasticd.service >/dev/null <<'EOF'
[Unit]
Description=Wantastic Overlay Networking Daemon
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=/usr/local/bin/wantasticd connect --config "/etc/wantastic/config.conf"
Restart=on-failure
RestartSec=5
KillMode=process

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload && sudo systemctl enable --now wantasticd
```

*Instalar y reclamar: genkey muestra una Claim URL y un código QR, y luego espera. Cuando haces clic en Claim Device en la consola, muestra "Device claimed". Entonces pulsa Ctrl+C y reinicia el servicio.*

```
$ $ sudo wantasticd genkey
…
…
Generated device claim key: /etc/wantastic/device-claim-key.json
Public key: Vd3hK1oQ7mR2sT9uW4xY6zA8bC0dE2fG4hJ6kL8mN0P=
Server URL: https://console.wantastic.app
Claim URL: https://console.wantastic.app/#desktop?claim_public_key=Vd3hK1oQ…%3D&wantastic_server=https%3A%2F%2Fconsole.wantastic.app

█▀▀▀▀▀█ ▄▀▄ ▀█▄ █▀▀▀▀▀█
█ ███ █ ▀█▄▀▄█ █ ███ █
█ ▀▀▀ █ ▄▀█ ▀▄ █ ▀▀▀ █
▀▀▀▀▀▀▀ ▀ ▀ █ ▀ ▀▀▀▀▀▀▀
▀█▄▀▄▀▀█▀▄█▀▄▀▀▄█▀▄▀█▄
█▀▀▀▀▀█ █▄▀▄▀█ ▀▄█ ▄▀
▀▀▀▀▀▀▀ ▀▀ ▀▀▀ ▀▀▀ ▀▀▀

2026/10/29 09:14:03 Waiting for claim. Press Ctrl+C to stop.
2026/10/29 09:15:12 Device claimed. Configuration saved to /etc/wantastic/config.conf
^C
$ $ sudo systemctl daemon-reload && sudo systemctl enable --now wantasticd
```

*Console: Claim Wantastic Device. La Claim URL y el código QR rellenan la clave por ti. Solo tienes que hacer clic en Claim Device.*

1. Claim public key ya está rellenado
2. Deja Wantastic server como aparece
3. Haz clic en Claim Device

> **Tip:** ¿El equipo no tiene Internet? Descarga el archivo en otro ordenador y cópialo con scp. genkey sigue necesitando Internet para completar la reclamación.

## Otros sistemas init

Todos los servicios ejecutan el mismo comando: wantasticd connect --config /etc/wantastic/config.conf.

### OpenRC

/etc/init.d/wantasticd:

```sh
#!/sbin/openrc-run
description="Wantastic Overlay Networking Daemon"
command="/usr/local/bin/wantasticd"
command_args="connect --config /etc/wantastic/config.conf"
command_background=true
pidfile=/run/wantasticd.pid
depend() { need net; }
```

> Luego: chmod +x /etc/init.d/wantasticd && rc-update add wantasticd default && rc-service wantasticd start

### procd (OpenWrt)

/etc/init.d/wantasticd:

```sh
#!/bin/sh /etc/rc.common
START=99
STOP=10
USE_PROCD=1
start_service() {
  procd_open_instance
  procd_set_param command /usr/local/bin/wantasticd connect --config /etc/wantastic/config.conf
  procd_set_param respawn 3600 5 0
  procd_set_param term_timeout 15
  procd_set_param file /etc/wantastic/config.conf
  procd_set_param stdout 1
  procd_set_param stderr 1
  procd_close_instance
}
```

> Luego: chmod +x /etc/init.d/wantasticd && /etc/init.d/wantasticd enable && /etc/init.d/wantasticd start

### SysV

/etc/init.d/wantasticd:

```sh
#!/bin/sh
### BEGIN INIT INFO
# Provides: wantasticd
# Required-Start: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
### END INIT INFO
PIDFILE=/var/run/wantasticd.pid
case "$1" in
  start) start-stop-daemon --start --background --make-pidfile --pidfile $PIDFILE --exec /usr/local/bin/wantasticd -- connect --config /etc/wantastic/config.conf ;;
  stop)  start-stop-daemon --stop --pidfile $PIDFILE; rm -f $PIDFILE ;;
  restart) $0 stop; sleep 1; $0 start ;;
  *) echo "Usage: $0 {start|stop|restart}"; exit 1 ;;
esac
```

> Luego: chmod +x, y regístralo con update-rc.d wantasticd defaults (Debian) o chkconfig --add wantasticd (RHEL).

> **Warning:** La actualización automática reinicia el agente mediante systemd, launchd, procd, OpenRC o /etc/init.d/wantasticd restart. Si usas otra cosa (supervisord, runit, s6, un bucle propio), añade --no-auto-update al comando y actualiza a mano.

## Comprueba que funciona

1. Ejecuta wantasticd status. Muestra Status: Connected y una VPN IP.
2. Abre Devices en la consola. El dispositivo aparece como Online.

Comprobación:

```bash
wantasticd status
```

*wantasticd status: Status: Connected y una VPN IP indican que el túnel está activo.*

```
$ $ wantasticd status
Status:        Connected
Version:       v1.0.54+377f3c0
Mode:          TUN (wantastic0)
VPN IPs:       10.200.0.14/32
Public key:    q7ZkV3m1yH0dTn8pXo2bLwR4sE6uJ9cA1fG5hK8iN0M=
Server:        wg.wantastic.app:51820
Exit node:     false
Local access:  false
Auto update:   true
Traffic:       ↓ 18.4 KiB  ↑ 9.2 KiB
Peers:         2 (direct 1, relay 1)
Uptime:        4m12s
```

*Console: Ventana Devices: el nuevo dispositivo aparece con su nombre y pasa a Online en pocos segundos.*

1. Buscar por nombre
2. Status muestra Online
3. La IP de Overlay coincide con wantasticd status
4. Last seen se sigue actualizando

## Otras formas de instalar

Solo lo necesitas para automatización o casos especiales. La instalación rápida de arriba es la forma más sencilla.

### Con un token

En lugar de genkey, inicia sesión con un token de Account → Secrets. --no-connect guarda la configuración y sale.

Inicio de sesión con token:

```bash
sudo wantasticd login --no-connect --token <TOKEN>
# self-hosted portal:
# sudo wantasticd login --no-connect --portal-url https://wantastic.example.com --token <TOKEN>
```

> Trata el token como una contraseña. Quien lo tenga puede añadir dispositivos a tu cuenta hasta que caduque.

*Console: Account → Secrets → + New Secret. El valor del secreto es el token.*

1. Abre la pestaña Secrets
2. Haz clic en + New Secret
3. Ponle un nombre
4. Haz clic en Generate
5. Copia el nuevo secreto

## Verify the result

- wantasticd version muestra la versión esperada.
- /etc/wantastic/config.conf existe y no está vacío.
- Tu servicio arranca con el sistema y wantasticd status muestra Connected.
- El dispositivo aparece como Online en Devices.

## Common issues

### El binario no se ejecuta.

```
cannot execute binary file: Exec format error
```

- **Where:** shell
- **Likely cause:** El archivo no corresponde a la CPU.
- **Fix:** Comprueba uname -m y descarga el archivo correspondiente de la matriz de versiones.

Comprobar la CPU:

```bash
uname -m
```

### La descarga devuelve 404.

```
curl: (22) The requested URL returned error: 404
```

- **Where:** curl
- **Likely cause:** El nombre del archivo tiene una errata o TAG todavía contiene la parte +sha.
- **Fix:** Copia el nombre del archivo exactamente de la matriz de versiones y usa cut -d+ -f1 como se muestra.

### El servicio no encuentra una configuración.

```
Config not found at /etc/wantastic/config.conf. Run `wantasticd genkey --out <key>` to create a claim key and wait for claim, or pass --wait-claim with an existing key.
```

- **Where:** wantasticd connect
- **Likely cause:** genkey se ejecutó sin sudo, así que la configuración fue a ~/.config/wantastic.
- **Fix:** Ejecuta genkey con sudo y reclama el dispositivo de nuevo.

Reclamar como root:

```bash
sudo wantasticd genkey
# after "Device claimed": press Ctrl+C, then:
sudo systemctl restart wantasticd
```

### genkey o login no pueden guardar la configuración.

```
Failed to prepare config path: parent /etc/wantastic is not a directory
```

- **Where:** wantasticd genkey / login
- **Likely cause:** Existe un archivo plano antiguo /etc/wantastic. Las versiones anteriores lo usaban como configuración.
- **Fix:** Aparta el archivo antiguo y vuelve a reclamar.

Solución:

```bash
sudo mv /etc/wantastic /etc/wantastic.old
sudo wantasticd genkey
```

### Hiciste clic en Claim Device, pero la terminal nunca muestra "Device claimed".

```
Claim polling not ready: claim config rejected (401): invalid signature or timestamp out of window
```

- **Where:** wantasticd genkey
- **Likely cause:** El reloj del dispositivo no está en hora. La reclamación solo funciona si el reloj tiene un desfase inferior a 30 segundos respecto a la hora real.
- **Fix:** Corrige el reloj. genkey sigue esperando y termina por sí solo.

Activa la hora de red:

```bash
sudo timedatectl set-ntp true
date
```

### El servicio arranca y se detiene de inmediato.

```
Failed to start agent: create device: create tun: CreateTUN("wantastic0") failed; /dev/net/tun does not exist
```

- **Where:** registro del servicio
- **Likely cause:** El controlador TUN del kernel no está cargado.
- **Fix:** Carga el controlador TUN y luego reinicia el servicio.

Cargar TUN:

```bash
sudo modprobe tun
sudo systemctl restart wantasticd
```

- **Verify:** ls -l /dev/net/tun muestra el dispositivo.

### Aparece una segunda interfaz (wantastic1) o el registro muestra un conflicto de puertos.

```
Port 51820 in use, using random port
```

- **Where:** registro del servicio
- **Likely cause:** genkey sigue ejecutándose en la terminal mientras el servicio también se ejecuta. Ahora compiten dos copias.
- **Fix:** Pulsa Ctrl+C en la terminal de genkey y luego reinicia el servicio.

Reiniciar:

```bash
sudo systemctl restart wantasticd
```

### status indica Running (tunnel down), o peers muestra HANDSHAKE never para (server).

```
Device health check failed: …
```

- **Where:** registro del servicio
- **Likely cause:** La red bloquea el puerto UDP 51820 saliente hacia el hub (wg.wantastic.app), o el DNS no funciona.
- **Fix:** Permite UDP 51820 saliente en tu firewall y luego reinicia el servicio.

Probar DNS y reiniciar:

```bash
nslookup wg.wantastic.app
sudo systemctl restart wantasticd
```

- **Verify:** wantasticd peers muestra un handshake reciente (por ejemplo "8s ago") para (server).

## Continue with

- [Choose your install method](https://wantastic.app/es/docs/install-overview): Find your device in one table and copy one command. Most devices install in 2 minutes: install, scan a QR code, click Claim Device.
- [Run in Docker (community pattern)](https://wantastic.app/es/docs/install-docker): Run wantasticd in a Docker container built from the official release: build a small image, claim it once with genkey, then run it detached. Not an official image.
- [Install on MIPS routers](https://wantastic.app/es/docs/install-mips-routers): Install wantasticd on MIPS routers and boards: one command tells you the CPU type, then copy the matching install block and claim the router with a QR code.
- [wantasticd CLI reference and operations](https://wantastic.app/es/docs/wantasticd): The most used wantasticd commands first, then every command and flag, environment variables, config and state paths per OS, log lines, local access, exit node, and the claim flow (genkey / --wait-claim).
- [Update, roll back and uninstall](https://wantastic.app/es/docs/update-and-uninstall): Update or uninstall wantasticd with one line per OS. Also: how auto-update works, turning it off, rolling back to the previous binary, and purging all data.
- [Installer errors (install.sh and install.ps1)](https://wantastic.app/es/docs/errors-installer): Every message the Wantastic installers print when they stop, what it means and the easiest fix.
