CucuVPN funciona en Ubuntu y Fedora de 64 bits. Necesitas:
Un servidor WireGuard: el tuyo propio o el de un proveedor que te dé un fichero .conf. CucuVPN es solo el cliente, no incluye servidores.
systemd-resolved para el DNS del túnel. Ubuntu y Fedora lo usan de serie; en Debian lo instala el paquete .deb.
Ubuntu y Debian
sudo apt install ./cucu-vpn_0.4.0_amd64.deb
Fedora
sudo dnf install ./cucu-vpn-0.4.0-1.x86_64.rpm
El paquete instala la app y el servicio cucu-vpnd, que queda activo y arranca con el equipo. Es el que monta el túnel; la app solo le da órdenes. Para actualizar, instala el paquete nuevo de la misma forma.
Importar un túnel (.conf)
Abre la pestaña Túneles y pulsa Importar .conf.
Elige el fichero de configuración WireGuard que te dio tu servidor o tu proveedor.
Si quieres, cámbiale el nombre con Renombrar («Casa», «Oficina»…).
Puedes guardar varios túneles y elegir cuál usar en Inicio, incluso con la VPN conectada.
Por seguridad, las líneas PreUp, PostUp, PreDown y PostDown del fichero se ignoran: el servicio nunca ejecuta órdenes de un fichero importado. Los túneles se guardan en ~/.local/share/cucuvpn/tuneles/, legibles solo por ti.
Conectar y desconectar
Pulsa Conectar en Inicio, o usa Conectar o desconectar en el menú del icono de la bandeja. Desde tu sesión de escritorio no pide contraseña; desde fuera (por ejemplo, por SSH) el sistema pedirá la de administrador.
Inicio muestra el estado, lo recibido y enviado, el último saludo con el servidor, tu dirección en el túnel y su DNS.
En Ajustes › Conexión puedes hacer que CucuVPN se abra al iniciar sesión (minimizada en la bandeja) y que conecte sola al abrirse.
Al cerrar la ventana con el aspa, CucuVPN sigue en la bandeja y la VPN sigue conectada.
Sacar apps de la VPN
Por defecto, todo tu tráfico va por la VPN menos el de las apps que marques en la pestaña Fuera de la VPN.
Al marcar una app, desde el menú y el dock se abrirá fuera de la VPN. CucuVPN lo consigue con una copia de su acceso directo en ~/.local/share/applications; al desmarcarla, se restaura el original.
Si la app ya estaba abierta, se aplica al momento a todos sus procesos. Sus conexiones en curso se reinician.
Funciona también con apps Snap y Flatpak.
Desde la terminal, lanza un programa fuera de la VPN con cucu-vpn-exclude:
cucu-vpn-exclude firefox
Las apps que otra app abre por su cuenta (sin pasar por el menú) solo quedan fuera si se lanzan con esa orden o si las aplicas desde la pantalla mientras están abiertas.
IPs, redes y dominios fuera de la VPN
En Fuera de la VPN › Direcciones puedes sacar de la VPN las conexiones a una IP, una red o un dominio, desde cualquier app.
Escribe 203.0.113.5, 10.0.0.0/8 o dominio.com, o pega tal cual una orden o una URL: ssh root@203.0.113.5, https://dominio.com/ruta. CucuVPN se queda con la IP o el dominio.
Un dominio incluye todos sus subdominios. Las rutas de una URL no se pueden separar: va el dominio entero.
CucuVPN aprende las IPs de cada dominio a medida que se consultan y las recuerda 6 horas.
Si un dominio está detrás de un CDN (Cloudflare, Akamai…), su IP puede ser compartida con otras webs, que también saldrán fuera de la VPN mientras ese dominio siga en la lista.
Modo «solo lo elegido por la VPN»
Arriba de la pestaña de reparto tienes el selector Modo:
Todo por la VPN menos lo elegido (por defecto): lo marcado usa tu conexión normal.
Solo lo elegido por la VPN: solo las apps y direcciones marcadas van por el túnel; el resto usa tu conexión normal. La pestaña pasa a llamarse «Solo por la VPN».
Las dos opciones usan la misma lista. El DNS y los servicios internos de tu VPN siguen yendo por el túnel en ambos modos. Al cambiar de modo, las apps ya abiertas siguen por su camino hasta que las reinicias.
Kill switch: bloquear Internet si se cae la VPN
Actívalo en Ajustes › Protección. Con él:
Si el túnel se cae, Internet se bloquea y la app muestra el estado Bloqueada en rojo. Lo que hayas sacado de la VPN sigue funcionando.
CucuVPN reintenta solo cada 15 segundos; también puedes pulsar Reintentar.
El bloqueo se mantiene al reiniciar el equipo o actualizar, y el túnel se reanuda solo al arrancar.
Solo Desconectar quita el bloqueo (o desactivar el kill switch).
Si te quedas sin Internet
Pulsa Desconectar en la app o Conectar o desconectar en la bandeja. Si la app no responde, esta orden quita el bloqueo a mano:
sudo nft delete table inet cucuvpn
El kill switch no cubre los primeros segundos del arranque, antes de que se inicie el servicio, ni el tráfico de máquinas virtuales y contenedores.
Protección contra fugas de DNS e IPv6, y red local
DNS: siempre activa con la VPN. Las consultas van por el túnel a los servidores DNS = de tu .conf; si no trae ninguno, se usan 1.1.1.1 y 9.9.9.9 a través del túnel. Ninguna app puede preguntar a otro servidor DNS por fuera.
IPv6: si tu servidor no lleva IPv6, se bloquea para que no salga por fuera del túnel.
Red local (Ajustes › Protección): permitida por defecto, para usar impresoras, NAS y otros equipos de casa. Desactívala en redes públicas (cafeterías, hoteles) para que nadie de esa red pueda llegar a tu equipo ni tú a ellos.
Las apps que sacas de la VPN también resuelven sus nombres por el DNS del túnel, aunque su tráfico salga por tu conexión normal.
Ofuscación: redes que bloquean las VPN
Algunas redes (hoteles, empresas, wifis públicas, algunos países) bloquean WireGuard. Con la ofuscación, CucuVPN mete el túnel en una conexión HTTPS al puerto 443 y para la red parece una web cualquiera.
Solo funciona con un servidor WireGuard propio en el que puedas entrar como root (Ubuntu o Debian). Si tu VPN es de un proveedor, pregúntale si ofrece algo parecido.
Entra en tu servidor (por SSH) e instala el servicio de ofuscación descargando el script de CucuVPN:
Si tu proveedor tiene un cortafuegos en su panel web, abre allí el puerto 443/TCP de entrada (o el que hayas elegido).
El script termina mostrando una URL wss://…/clave. En Túneles › ⋮ › Ofuscación (HTTPS)… pégala y guarda. El túnel muestra la etiqueta HTTPS y en Inicio verás «Servidor (por HTTPS)».
La URL es secreta. Se guarda en el .conf como un comentario (# CucuVPN-Obfuscation = …), así que el fichero sigue valiendo para otros clientes WireGuard. Va algo más lenta que WireGuard directo: úsala solo donde haga falta.
Si conecta pero no hay respuesta del servidor, casi siempre es el puerto cerrado. Compruébalo con esta orden: debe responder «HTTP/1.1 400 Bad Request».
cucu-vpn-exclude curl -skI https://TU_SERVIDOR/
Test de velocidad
En la sección Test de velocidad del menú pulsa el botón Medir. CucuVPN mide la latencia, la bajada y la subida por la VPN y sin ella contra el servidor público de pruebas de Cloudflare (speed.cloudflare.com), con un velocímetro y una gráfica en directo.
Al terminar verás cuánto de tu conexión conserva la VPN, y las mediciones anteriores quedan en el historial.
Tarda unos 40 segundos y descarga unos cientos de MB; tenlo en cuenta si tu conexión tiene datos limitados. No se envía ningún dato tuyo.
Ver el icono en la barra de GNOME
En Ubuntu, KDE Plasma, XFCE y Cinnamon el icono aparece directamente. En Fedora (y Debian) con GNOME puro hace falta la extensión AppIndicator:
Cierra sesión, vuelve a entrar y actívala en la app Extensiones. En Debian el paquete es gnome-shell-extension-appindicator con apt.
Cómo desinstalar CucuVPN
Desinstala el paquete con la orden de tu sistema:
Ubuntu y Debian
sudo apt remove cucu-vpn
Fedora
sudo dnf remove cucu-vpn
Al desinstalar se para el servicio, se quitan sus reglas (incluido cualquier bloqueo del kill switch) y se restauran los accesos directos originales de las apps que tenías fuera de la VPN. Tus túneles importados se quedan en ~/.local/share/cucuvpn; bórrala si no vas a volver a usarlos (contiene tus claves privadas).
Solución de problemas frecuentes
Una app sigue saliendo por la VPN: ciérrala del todo y vuelve a abrirla desde el menú. Chrome sigue en segundo plano si tiene activado Seguir ejecutando aplicaciones en segundo plano.
No conecta: comprueba que el servicio está activo y mira su registro:
systemctl status cucu-vpnd
journalctl -u cucu-vpnd -n 40 --no-pager
Comprobar qué sale por dónde: estas dos órdenes deben dar IPs distintas.
sudo wg show cucuvpn0
sudo nft list table inet cucuvpn
¿Sigues con dudas o has encontrado un fallo? Escribe a nuestro correo de contacto (haz clic para verlo) con tu distribución, la versión de CucuVPN y la salida de journalctl.
Licencias, marcas y servicios de terceros
CucuVPN no está afiliada, patrocinada ni respaldada por ninguna de estas empresas o proyectos:
WireGuard: «WireGuard» y su logotipo son marcas registradas de Jason A. Donenfeld. CucuVPN es un cliente independiente que usa el WireGuard del núcleo de Linux y la herramienta wg del sistema; no los incluye ni los modifica.
Cloudflare: el test de velocidad usa su servidor público speed.cloudflare.com, y 1.1.1.1 es uno de los DNS de respaldo. Cloudflare es una marca de Cloudflare, Inc.; su uso está sujeto a sus condiciones y a su política de privacidad.
Quad9: 9.9.9.9, el otro DNS de respaldo, es de la Quad9 Foundation.
La app está hecha con Flutter y el servicio con Go (solo su biblioteca estándar, licencia BSD de 3 cláusulas). El texto completo de todas las licencias de código abierto que incluye está en la app: Ajustes › Acerca de › Licencias y avisos legales, o en Ayuda.
CucuVPN runs on 64-bit Ubuntu and Fedora. You need:
A WireGuard server: your own, or a provider’s that gives you a .conf file. CucuVPN is only the client and includes no servers.
systemd-resolved for the tunnel’s DNS. Ubuntu and Fedora use it by default; on Debian the .deb package installs it.
Ubuntu & Debian
sudo apt install ./cucu-vpn_0.4.0_amd64.deb
Fedora
sudo dnf install ./cucu-vpn-0.4.0-1.x86_64.rpm
The package installs the app and the cucu-vpnd service, which stays enabled and starts with the computer. The service sets up the tunnel; the app only gives it orders. To update, install the new package the same way.
Import a tunnel (.conf)
Open the Túneles (Tunnels) tab and press Importar .conf.
Pick the WireGuard configuration file from your server or provider.
Optionally rename it with Renombrar (“Home”, “Office”…).
You can keep several tunnels and choose which one to use on the Inicio (Home) screen, even while connected.
For security, the PreUp, PostUp, PreDown and PostDown lines are ignored: the service never runs commands from an imported file. Tunnels are stored in ~/.local/share/cucuvpn/tuneles/, readable only by you.
Connect and disconnect
Press Conectar (Connect) on the Home screen, or use Conectar o desconectar (Connect or disconnect) in the tray icon menu. From your desktop session no password is needed; from elsewhere (for example over SSH) the system asks for the administrator password.
Home shows the status, data received and sent, the last handshake with the server, your tunnel address and its DNS.
Under Ajustes › Conexión (Settings › Connection) you can open CucuVPN at login (minimized to the tray) and connect automatically when it opens.
Closing the window keeps CucuVPN in the tray and the VPN connected.
The app interface is currently in Spanish; this guide gives the Spanish label followed by its English meaning.
Take apps out of the VPN
By default, all your traffic goes through the VPN except the apps you mark on the Fuera de la VPN (Outside the VPN) tab.
Once marked, the app opens outside the VPN from the menu and the dock. CucuVPN does this with a copy of its launcher in ~/.local/share/applications; unmarking it restores the original.
If the app is already open, it applies to all its processes right away. Its ongoing connections are restarted.
It also works with Snap and Flatpak apps.
From the terminal, launch a program outside the VPN with cucu-vpn-exclude:
cucu-vpn-exclude firefox
Apps opened by another app on their own (not from the menu) are only excluded if launched with that command or applied from the screen while open.
IPs, networks and domains outside the VPN
Under Fuera de la VPN › Direcciones (Addresses) you can take connections to an IP, a network or a domain out of the VPN, from any app.
Type 203.0.113.5, 10.0.0.0/8 or domain.com, or paste a command or URL as is: ssh root@203.0.113.5, https://domain.com/path. CucuVPN keeps the IP or domain.
A domain includes all its subdomains. URL paths cannot be split: the whole domain is used.
CucuVPN learns each domain’s IPs as they are looked up and remembers them for 6 hours.
If a domain sits behind a CDN (Cloudflare, Akamai…), its IP may be shared with other websites, which will also go outside the VPN while that domain stays on the list.
“Only the chosen through the VPN” mode
At the top of the split tab you will find the Modo (Mode) selector:
Todo por la VPN menos lo elegido (everything through the VPN except the chosen, default): what you mark uses your normal connection.
Solo lo elegido por la VPN (only the chosen through the VPN): only the marked apps and addresses use the tunnel; everything else uses your normal connection.
Both modes share the same list. DNS and your VPN’s internal services always use the tunnel. After switching modes, apps that are already open keep their path until you restart them.
Kill switch: block the Internet if the VPN drops
Turn it on under Ajustes › Protección (Settings › Protection). With it:
If the tunnel drops, the Internet is blocked and the app shows the red Bloqueada (Blocked) state. Whatever you took out of the VPN keeps working.
CucuVPN retries every 15 seconds; you can also press Reintentar (Retry).
The block survives restarts and updates, and the tunnel resumes on its own at boot.
Only Desconectar (Disconnect) lifts the block (or turning the kill switch off).
If you are left without Internet
Press Desconectar in the app or Conectar o desconectar in the tray. If the app does not respond, this command removes the block by hand:
sudo nft delete table inet cucuvpn
The kill switch does not cover the first seconds of boot, before the service starts, nor traffic from virtual machines and containers.
DNS and IPv6 leak protection, and local network
DNS: always on with the VPN. Queries go through the tunnel to the DNS = servers in your .conf; if it has none, 1.1.1.1 and 9.9.9.9 are used through the tunnel. No app can query another DNS server outside it.
IPv6: if your server does not carry IPv6, it is blocked so it cannot leave outside the tunnel.
Local network (Ajustes › Protección): allowed by default, for printers, NAS and other home devices. Turn it off on public networks (cafés, hotels) so nobody on that network can reach your computer, nor you them.
Apps you take out of the VPN also resolve names through the tunnel’s DNS, even though their traffic uses your normal connection.
Obfuscation: networks that block VPNs
Some networks (hotels, offices, public Wi-Fi, some countries) block WireGuard. With obfuscation, CucuVPN wraps the tunnel in an HTTPS connection on port 443 and to the network it looks like any website.
It only works with your own WireGuard server where you can log in as root (Ubuntu or Debian). If your VPN comes from a provider, ask them whether they offer something similar.
Log in to your server (over SSH) and install the obfuscation service by downloading the CucuVPN script:
If your hosting provider has a firewall in its web panel, open inbound port 443/TCP there (or the one you chose).
The script ends by printing a wss://…/key URL. In Túneles › ⋮ › Ofuscación (HTTPS)… paste it and save. The tunnel shows the HTTPS tag and Home shows “Server (over HTTPS)”.
The URL is secret. It is stored in the .conf as a comment (# CucuVPN-Obfuscation = …), so the file still works in other WireGuard clients. It is somewhat slower than plain WireGuard: use it only where needed.
If it connects but the server does not answer, the port is almost always closed. Check it with this command: it should answer “HTTP/1.1 400 Bad Request”.
cucu-vpn-exclude curl -skI https://YOUR_SERVER/
Speed test
In the Speed test section of the menu press Go. CucuVPN measures latency, download and upload with and without the VPN against Cloudflare’s public test server (speed.cloudflare.com), with a live gauge and graph.
When it finishes you will see how much of your connection the VPN keeps, and earlier measurements stay in the history.
It takes about 40 seconds and downloads a few hundred MB; keep that in mind on a metered connection. None of your data is sent.
Show the icon in the GNOME top bar
On Ubuntu, KDE Plasma, XFCE and Cinnamon the icon shows up out of the box. On Fedora (and Debian) with vanilla GNOME you need the AppIndicator extension:
Log out, log back in and enable it in the Extensions app. On Debian the package is gnome-shell-extension-appindicator with apt.
How to uninstall CucuVPN
Remove the package with your system’s command:
Ubuntu & Debian
sudo apt remove cucu-vpn
Fedora
sudo dnf remove cucu-vpn
Uninstalling stops the service, removes its rules (including any kill switch block) and restores the original launchers of the apps you had outside the VPN. Your imported tunnels stay in ~/.local/share/cucuvpn; delete it if you will not use them again (it holds your private keys).
Troubleshooting
An app still goes through the VPN: quit it completely and open it again from the menu. Chrome keeps running in the background if Continue running background apps is on.
It will not connect: check that the service is running and read its log:
systemctl status cucu-vpnd
journalctl -u cucu-vpnd -n 40 --no-pager
Check what goes where: these two commands should print different IPs.
sudo wg show cucuvpn0
sudo nft list table inet cucuvpn
Still need help or found a bug? Write to our contact email (click to reveal) with your distribution, CucuVPN version and the journalctl output.
Licenses, trademarks and third-party services
CucuVPN is not affiliated with, sponsored or endorsed by any of these companies or projects:
WireGuard: “WireGuard” and its logo are registered trademarks of Jason A. Donenfeld. CucuVPN is an independent client that uses the Linux kernel's WireGuard and the system's wg tool; it does not include or modify them.
Cloudflare: the speed test uses its public speed.cloudflare.com server, and 1.1.1.1 is one of the fallback DNS servers. Cloudflare is a trademark of Cloudflare, Inc.; their use is subject to its terms and privacy policy.
Quad9: 9.9.9.9, the other fallback DNS server, belongs to the Quad9 Foundation.
The app is built with Flutter and the service with Go (standard library only, 3-clause BSD license). The full text of every open source license it includes is in the app: Settings › About › Licenses and legal notices, or in Help.