So, now, i'm a bit lost ... because one question is, why is the option NAT/BINAT Address available in the phase 2 configuration page?
And another question is, what we can do on our side, because we have some overlapping subnets. Patching or doing something behind the GUI is not really an option for us
# WARNING! UNTESTED! USE AT YOUR OWN RISK!fetch http://pkg.pfsense.org/pfSense_v2_3_2_amd64-pfSense_v2_3_2/All/strongswan-5.5.0.txzpkg delete -f strongswanpkg add strongswan-5.5.0.txzpkg lock strongswan
--- ipsec.inc.orig 2016-06-29 11:41:59.000000000 +0200+++ ipsec.inc 2016-07-18 19:22:11.860639000 +0200@@ -1029,6 +1029,18 @@ continue; } if (!empty($ph2ent['natlocalid'])) {++ $natleftsubnet_data = ipsec_idinfo_to_cidr($ph2ent['natlocalid'], false, $ph2ent['mode']);+ if ($ph2ent['natlocalid']['type'] != "address") {+ if (is_subnet($natleftsubnet_data)) {+ $leftsubnet_data = "{$natleftsubnet_data}|{$leftsubnet_data}";+ }+ } else {+ if (is_ipaddr($natleftsubnet_data)) {+ $leftsubnet_data = "{$natleftsubnet_data}|{$leftsubnet_data}";+ }+ }+ $natfilterrules = true; } }
# WARNING! UNTESTED! USE AT YOUR OWN RISK!scp patch.txt root@opnsense:ssh root@opnsensecd /usr/local/etc/incpatch </root/patch.txt
In the next weeks and months, it's not a problem to route all the overlapping subnets to the ASA who can handle this scenario, but anytime next year, we want to replace the boxes... And it would be nice to have a solution without boxes behind boxen