Skip to content

kilo

WireGuard-based network overlay linking Kubernetes nodes across clouds and data centers

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

41

Health

Slowing

Overview

Stars

2,302

Last commit

2 months ago

Sep 2026

Repository age

7 years

since Dec 2018

Latest version

0.7.0

Mar 2026

Contributors

–

1 active in 90 days

Releases

1

last 12 months

Docker pulls

10M

squat/kilo

Language

Go

Kilo is a network overlay for Kubernetes built on WireGuard. It creates an encrypted layer 3 network between cluster nodes, even when they sit in different data centers, public clouds or behind NAT. The Pod network stays fully connected across those locations.

A Go agent called kg runs on every node. It sets up the WireGuard keys and the routing rules between locations. Kilo can act as the complete networking provider for a cluster, or run on top of another one. For example, Flannel can handle traffic inside each location while Kilo handles traffic between them.

Beyond multi-cloud clusters, Kilo lets clients VPN into a cluster to reach its services, and it supports services that span several Kubernetes clusters. It needs the WireGuard kernel module, which is built into Linux since 5.6, or a userspace WireGuard implementation. By default it uses UDP port 51820. It is licensed under Apache-2.0.

Who it's for

Platform engineers running clusters across several clouds

One encrypted mesh connects node pools in different providers without extra VPN gear.

Skip if: All your nodes live in a single network, where your existing CNI is enough.

Operators of edge or home-lab clusters behind NAT

Nodes behind NAT stay connected as long as one node per location has a routable IP.

Skip if: No node in a location can have a routable IP address.

Teams that want VPN access to cluster services

Kilo lets clients connect to the cluster over WireGuard.

Skip if: You want a general-purpose VPN product with a management UI.

The problem it solves

Kubernetes nodes in different clouds or behind NAT cannot reach each other's Pod networks by default. Joining them usually means building and maintaining VPN tunnels by hand. Kilo sets this up with WireGuard and keeps the Pod network connected.

Strengths

  • Encrypted layer 3 mesh across clouds, data centers and NAT
  • Works standalone or on top of CNIs such as Flannel
  • Supports multi-cluster services and client VPN access
  • Apache-2.0 license with over 10 million Docker pulls
  • Userspace WireGuard option for nodes without the kernel module

Trade-offs

  • Needs the WireGuard kernel module or a userspace build on each node
  • Each location needs at least one node with a routable IP
  • Maintenance is slowing, with one release in the last year
  • You must tell it your topology via labels or annotations

Self-host kilo

Self-hostable
Yes
Docker image
squat/kilo

Quick start

for node in $(kubectl get nodes | grep -i gcp | awk '{print $1}'); do kubectl annotate node $node kilo.squat.ai/location="gcp"; done

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Kilo free?

Yes. It is open source under the Apache-2.0 license.

Does it replace my existing CNI?

It can. It also works as an add-on, with a CNI like Flannel handling networking inside each location.

Which port does it use?

UDP port 51820 by default. It must be open between nodes.

Do I need WireGuard installed?

Yes. Linux 5.6 and later include it in the kernel. Older kernels need a package, or you can use a userspace implementation.

Similar tools in Tunnels, VPNs and networking

portr

Tunnels, VPNs and networking

Self-hosted tunnel for small dev teams to expose local services, with request inspector

3.2k 115 22 days ago Active AGPL-3.0

Replaces Ngrok

I2P

Tunnels, VPNs and networking

Java router for an encrypted anonymous network layer, for people avoiding surveillance

2.8k 367 yesterday Active Apache-2.0

Pi-hole

Tunnels, VPNs and networking

Network-wide ad blocker running as a DNS sinkhole on your own Linux hardware

62k 3.4k 12 days ago Thriving EUPL-1.2

tsdproxy

Tunnels, VPNs and networking

Reverse proxy that puts Docker containers on your Tailscale network with one label

1.7k 85 2 months ago Active MIT

blocky

Tunnels, VPNs and networking

DNS proxy and ad blocker for home networks, with per-client rules and DoH support

7.1k 325 today Thriving Apache-2.0

pgrok

Tunnels, VPNs and networking

Self-hosted SSH-based tunnel service with SSO and stable subdomains for teams

3.7k 134 yesterday Active MIT