AS1024

nat64 (0.0.8-1)

Published 2026-10-19 04:34:14 +00:00 by jleung

Installation

sudo curl  -o /etc/apt/keyrings/gitea-AS1024.asc
echo "deb [signed-by=/etc/apt/keyrings/gitea-AS1024.asc]  $distribution $component" | sudo tee -a /etc/apt/sources.list.d/gitea.list
sudo apt update

Choose $distribution and $component from the list below.

sudo apt install nat64=0.0.8-1

Repository Info

Distributions
bookworm, trixie
Components
main
Architectures
amd64, arm64

About this package

stateful NAT64 (RFC 6146) in XDP/eBPF nat64 translates IPv6 clients to IPv4 servers (RFC 6146, with 6052 addressing, RFC 6145 header translation, fragment handling and RFC 6888 logging and port quotas) in an XDP program, so packets are rewritten in the NIC driver before the kernel network stack sees them. A userspace daemon loads and pins the BPF maps, keeps routes for the NAT64 prefix and IPv4 pool in sync (for FRR) and offers a command line for runtime configuration, an optional SNMP AgentX subagent (NATV2-MIB) and a slow path for packets the fast path cannot handle. . The daemon does not compare kernel version numbers. At start, and in "nat64 check", it asks the running kernel (by loading probe programs and maps) whether every program type, map type, helper and instruction set the embedded object needs is available, and names what is missing. The same package therefore installs on Debian 12 (kernel 6.1) and Debian 13 (kernel 6.12). . The binary is statically linked and contains the BPF object. The package ships a systemd unit, which is installed but not enabled: set the interfaces in /etc/nat64/nat64.env first.

Dependencies

iproute2
Details
Debian
2026-10-19 04:34:14 +00:00
2
xdp-nat64 maintainers
14 MiB
Assets (4)
Versions (12) View all