Need to NAT between two IPSEC tunnels
-
I had this working on an the old router using SNAT to translate an IPSEC A range to a pool of lan addresses only when connecting to IPSEC B. I read the book (gold) and still cannot get this to work:
Lan access to both IPSEC A and B are via WAN:
Remote IPSEC A connects as 10.10.2.x to lan 10.10.1.x - All this works fine. These are smartphones.
Remote IPSEC B is 10.100.200.0, connected from lan 10.10.1.x - Also works fine, this is a site to site.I need to get the IPSEC A 10.10.2.x to connect to IPSEC B and appear as the lan 10.10.1.200-203 range without changing anything on the remote site.
I tried: Adding a phase 2 to IPSEC B and using binat; 1:1; virtual IPs, and many other things I found on the web that I probably setup wrong. I am on pfsense 2.4.1. Can someone please point me in the right direction?
-
For future folks that make the same mistake I found the problem: When trying manual outbound NAT I had setup a virtual IP of 10.10.1.200 but had the interface set to LAN instead of localhost. Once I changed the VIP interface to localhost it worked fine. Hope this helps someone in the future.