Skip to content

Network Policies

Define label-based access control rules for your mesh network.

Overview

Lattice enforces default-deny networking. You create allow policies to permit specific traffic flows between labeled groups of nodes.

Policy Types

TypeDescription
AllowPermit traffic matching specified labels, ports, and protocols
DenyExplicitly block traffic (overrides allows)

Policy Structure

A policy specifies:

  • Source labels — which nodes the traffic comes from
  • Destination labels — which nodes the traffic goes to
  • Port/Protocol — which ports and protocols to allow/deny
  • Priority — higher-priority policies are evaluated first

Enforcement

EditionBackend
Communityiptables
ProeBPF (TC ingress on wf0 TUN)

Built with Lattice · Console