Skip to content

Commit 259ba1c

Browse files
committed
cilium nat46x64gw post
1 parent 0219904 commit 259ba1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/posts/cilium-nat64.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ IPv4 and IPv6 are two different protocols they are incompatible with one another
1212

1313
In this blog post I cover how I am running [Cilium](https://cilium.io) as a standalone NAT46x64 gateway which harnesses the power of [eBPF](https://docs.ebpf.io) in the linux kernel. Cilium is a CNCF graduate project which brings advanced networking capabilities to Kubernetes. While it is most commonly used as a CNI (Container Network Interface), not much has been documented about it's capabilities outside of Kubernetes, specially as a standalone NAT46x64 gateway. For my fellow kernel nerds and C lovers, Cilium's NAT46x64 implementation can be found [here](https://github.com/cilium/cilium/blob/main/bpf/lib/nat_46x64.h)
1414

15-
## Create a standalone NAT46x64Gateway
15+
## Configuration
1616

1717
Before we get to the real meat and potatoes we need to do some prep work.
1818

@@ -55,7 +55,7 @@ docker run --name cilium-lb -itd \
5555
"quay.io/cilium/cilium:stable" cilium-agent --enable-ipv4=true --enable-ipv6=true --devices=eth0 --datapath-mode=lb-only --enable-k8s=false --bpf-lb-mode=snat --enable-nat46x64-gateway=true
5656
```
5757

58-
## Quick test
58+
## Test
5959

6060
Let's create another Ubuntu VM as a test host with an IPv6 only address that points to our NAT46x64Gateway. Few noteworthy points in the netplan config shared below.
6161

0 commit comments

Comments
 (0)