IPSec, NAT in enc0 results to one SA more
-
Hello,
i am using ipsec-inside NAT like this:
negotiated ipsec parameters network IDs:
source: 10.166.255.0/24
destination: 10.166.0.0/24source: 172.16.0.0/12
NAT source-to: 10.166.255.1
destination: 10.166.0.0/24source: 172.20.131.71
NAT source-to: 10.166.255.71
destination: 10.166.0.0/24results to the following ipsec running:
con3000: child: 10.166.255.71/32|172.20.131.71/32 === 10.166.0.0/24|/0 TUNNEL, dpdaction=restart con3004: child: 10.166.255.1/32|172.16.0.0/12 === 10.166.0.0/24|/0 TUNNEL, dpdaction=restart con3004{10866}: 10.166.255.1/32|172.16.0.0/12 === 10.166.0.0/24|/0 con3000{10862}: 10.166.255.71/32|172.20.131.71/32 === 10.166.0.0/24|/0
but i experiences that a lot of remote endpoints do not like that inside a negotiated phase2 there comes more than one phase2 SA connection, so that i can only run either the one or the other phase2 SA but not both at same time
another ipsec vendors are able to setup NAT in conjunction with the ipsec, so i can NAT into an established phase2-SA and not with an additional phase2
it would be the very best if there is a solution based on NATs into only one phase2-SA in pfsense
Best Regards
Arndt Reimers