Kernel IPsec implementation
Kernel IPsec implementation
Posted Aug 9, 2018 14:54 UTC (Thu) by rweikusat2 (subscriber, #117920)In reply to: Kernel IPsec implementation by rweikusat2
Parent article: WireGuarding the mainline
Assuming there's a VPN server to which clients connect which utilizes some internal network 'through' a set of ESP tunnels and also acts as NAT gateway to the outside world for clients, the ESP/ ESP-in-UDP traffic, the incoming traffic on the internal network and the incoming and outgoing traffic from the external address of the gateway can be captured but not the reply traffic on the internal network (logically) originating from the internal address of the gateway and destined for the internal address of some client as that's transformed according to the rules in the SPD before anything outside gets a chance to look at it (AIUI).
