List of what I use for VPN:- Client connections (laptops): OpenVPN instances- Client network connections: IPSEC IPv4 IKE ESP IPv4 Tunnel- Inter-firewall connections: IPSEC IPv4 IKEv2 ESP Route-basedThis means I am in a catch-22 position: 1. I can not do SNAT on the WAN as inbound SNAT is not supported2. I can not do SNAT on the inter-firewall connections as SNAT is not supported on route based IPSec3. I can not upgrade to the solution of Monviech as I need IPSec ESP Ipv4 Tunnels
I'm also not a fan of this. But its a FreeBSD limitation. PFsense has the same issue:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248474#c7if_ipsec works with ipfw's NAT, we have many of such installations for years.I think you use PF and it won't work in some configurations, because of its design and how IPsec handled in FreeBSD.
Wireguard:Also additionally, Wireguard in FreeBSD has a very troubled history, and I myself had stability problems with it before (kernel panics).