Files
pf-linux-port/lab/cloud-init/network-config.gw2.tmpl
T
lgcosta da2e9b679a M1: compat layer + pf.ko skeleton builds against Linux 7.3.4
- pfk.h: BSD types/ioctl encoding (OpenBSD bit layout), locks (NET_LOCK=rwsem),
  pools, timeouts, mbuf shim over sk_buff, ifnet registry, toeplitz/siphash
- pfk_mod/pfk_hooks: misc /dev/pf (0600), IPv4 netfilter hook skeleton,
  DIOCGETSTATUS answered (M1 skeleton; engine ioctls land with pf_ioctl.c)
- vendorize/stage-port scripts: deterministic upstream staging with seds
  (struct renames, IFF_*->PFIFF_*, sa_len drops) logged to docs/porting-notes
- fixes: modules_prepare+Module.symvers for out-of-tree builds
2026-11-11 12:09:34 -03:00

14 lines
448 B
Cheetah

# cloud-init network config v2 — pftest-gw2. No mgmt NIC (contract):
# pf-wan2 + pf-wan only, forwards between them (ip_forward set in user-data);
# default via pf0 so the guest itself has egress for package installs.
version: 2
ethernets:
wan2:
match: {macaddress: "@GW2_MAC_WAN2@"}
addresses: [@GW2_WAN2@]
wan:
match: {macaddress: "@GW2_MAC_WAN@"}
addresses: [@GW2_WAN@]
routes:
- {to: default, via: @PF0_WAN_IP@}