Skip to main content

Instalar el cliente en una pc

Paso 1 - Instalar Tailscale

En tu PC Ubuntu:

curl -fsSL https://tailscale.com/install.sh | sh


Verificá la instalación:

tailscale version


No ejecutes todavía tailscale up.


Paso 2 - Comprobar conectividad

Antes de registrar el cliente, verificá que tu PC llegue al servidor:

curl https://main.zyronet.us


Deberías obtener el mismo HTML que vimos en el VPS.

EntoncesEn el servidor crear la key:
sudo -u headscale headscale preauthkeys create \
    --user 1 \
    --expiration 24h
hskey-auth-5ghW_vN4Ot7i-tfiwdk5GthVisqF_J_rqtrhIxF8jy54Nk8fPZIGNIkTxKcHwivif-m3LQuCFVQS8

 

Entonces, en la PC ejecutaremos:

(usar la key obtenida en el servidor)
sudo tailscale up \
  --login-server=https://main.zyronet.us \
  --auth-key=hskey-auth-_JOhCPQzBiW8-IfnbqIHBSZEctjmj2_ZPQPbafRSRIvsqya82PIh9KGGKIpK7M6F6dYo95sz9e0wA5ghW_vN4Ot7i-tfiwdk5GthVisqF_J_rqtrhIxF8jy54Nk8fPZIGNIkTxKcHwivif-m3LQuCFVQS8

luego con ifconfig deberiamos ver la interfaz de tailscape:

tailscale0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1280
        inet 100.64.0.1  netmask 255.255.255.255  destination 100.64.0.1
        inet6 fe80::caa1:b76:f0bb:b8c3  prefixlen 64  scopeid 0x20<link>
        inet6 fd7a:115c:a1e0::1  prefixlen 128  scopeid 0x0<global>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 3  bytes 522 (522.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 26  bytes 1528 (1.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0