qmetrics.net

Einat eBPF

eBPF endpoint-independent NAT for Linux

einat implements full-cone style endpoint-independent NAT on Linux using eBPF on TC hooks. A Rust frontend handles interface changes, hairpin routing, and configuration.

Overview

einat is network address translation software for Linux that uses eBPF programs on traffic-control egress and ingress hooks. The eBPF layer provides endpoint-independent mapping and filtering for TCP, UDP, and ICMP, including IPv4 and IPv6 NAPT.

It can reserve part of the external port range for other services and includes a userspace frontend that reapplies settings when interface addresses change and sets up hairpin routes. The project documents CO-RE style deployment, static binaries via Nix flakes, OpenWrt packages, and systemd persistence examples.

Target kernels need BPF and BTF support from 5.15 onward; testing is described for x86-64 and aarch64. Operators attach the tool to an external interface, avoid conflicting nftables masquerade rules, and may need TCP MSS clamping on low-MTU tunnels.

Compared with kernel conntrack-based full-cone modules, einat builds its NAT engine directly on eBPF TC hooks to reduce interaction with address-dependent conntrack behavior.

Key features

  • IPv4 and IPv6 NAPT in eBPF
  • Endpoint-independent NAT for TCP UDP ICMP
  • Configurable external port ranges
  • Automatic reconfiguration on address changes
  • Hairpin IP rule and route setup
  • aya, libbpf, and libbpf-skel loaders
  • Nix flake static binaries
  • OpenWrt and LuCI packaging

Use cases

  • Full-cone NAT on home routers
  • OpenWrt gateway deployments
  • PPPoE or tunnel interface NAT
  • Self-hosted edge Linux gateways

Tags

Similar software

Clash Verge Rev

Cross-platform Tauri desktop GUI for Clash Meta proxying

Clash Verge Rev is a desktop GUI for the Clash Meta proxy kernel on Windows, macOS, and Linux. It offers profile management, system proxy modes, and keeps configuration on your device.

  • Rust and Tauri 2 desktop stack
  • Custom themes, tray icons, CSS injection
  • Config merge, scripts, syntax hints
TypeScriptLinux, macOS, WindowsDetails →
★ 162.4k⟳ todayGPL-3.0

v2rayN

Desktop GUI client for proxy cores

v2rayN is a graphical client for Windows, Linux, and macOS that works with Xray, sing-box, and related proxy stacks. Prebuilt packages ship for common CPU architectures.

  • GUI for Xray and sing-box
  • Windows Linux macOS builds
  • Multiple CPU architectures
C#Linux, macOS, WindowsDetails →
★ 122.1k⟳ todayGPL-3.0

frp

Self-deployed reverse proxy for NAT and firewall bypass

frp pairs a public-facing frps server with frpc clients to expose TCP, UDP, HTTP, and HTTPS services behind NAT or firewalls, including P2P connect mode.

  • TCP UDP HTTP HTTPS tunneling
  • frps and frpc server-client model
  • Custom domain HTTP publishing
GoDetails →
★ 111k⟳ 2 days agoApache-2.0
Open Source Alternative to:Cloudflare Tunnelngrok+1

Caddy

Extensible server platform with automatic TLS

Caddy is an extensible server platform that enables HTTPS by default. It is often used as an HTTPS and HTTP server with a modular Go-based architecture.

  • Automatic HTTPS by default
  • Caddyfile and JSON configuration
  • JSON API for dynamic config
GoLinux, macOS, Windows, CLIDetails →
★ 80k⟳ yesterdayApache-2.0
Open Source Alternative to:Internet Information Services

FlClash

Multi-platform Clash Meta proxy client without ads

FlClash is a proxy client built on the mihomo (Clash.Meta) core for Android, Windows, macOS, and Linux. It supports rule routing, TUN mode, and subscription-based profiles.

  • mihomo core with rule routing
  • TUN and system proxy modes
  • Subscription and file profiles
DartLinux, macOS, Windows, AndroidDetails →
★ 67.3k⟳ 8 days agoGPL-3.0

Traefik Labs

Dynamic HTTP reverse proxy and load balancer for microservices

Traefik routes HTTP traffic to microservices and balances load across backends. It watches orchestrators and registries to update routes without manual restarts.

  • Dynamic configuration from orchestrators
  • Multiple load balancing algorithms
  • Circuit breakers and retries
GoDockerDetails →
★ 66k⟳ 3 days agoMIT