AutoHost logoAutoHost

Command Palette

Search for a command to run...

Concepts

Networking

Learn about AutoHost networking and service discovery.

AutoHost provides a secure overlay network that connects all your nodes, regardless of their physical location.

Overlay Network

The overlay network uses WireGuard to create secure tunnels between nodes. This enables:

  • Secure communication across public internet
  • Direct container-to-container networking
  • NAT traversal for nodes behind firewalls
  • Minimal latency overhead

Service Discovery

Services can discover each other using built-in DNS:

bash
# Services are available at:
# <service-name>.<project>.autohost.local
curl http://api.myproject.autohost.local:8080

Ingress Configuration

yaml
ingress:
  - host: api.example.com
    service: api
    port: 8080
    tls:
      enabled: true
      cert: auto  # Auto-provision via Let's Encrypt