Identity management for WireGuard
Identity management for WireGuard
Posted Oct 19, 2022 10:43 UTC (Wed) by grawity (subscriber, #80596)In reply to: Identity management for WireGuard by leromarinvit
Parent article: Identity management for WireGuard
Xfrm makes a lot of sense for *transport* IPsec associations, where no virtual IPs are involved, but instead the traffic between hosts' real IPs gets ~magically~ transformed into encrypted packets (or has an AH header stuck onto it). For example, between a bunch of servers spread around the net.
But once you start building tunnels through xfrm API, things get really weird. You have to assign virtual IPs to the physical eth0, move them as the default gateway changes, etc. IPsec VPN clients like StrongSwan really ought to default to creating an ipsec0 interface for that (which it *can* do now, using xfrmi interfaces).
