Route OPENVPN through IPSEC Encryption domain
Need some tips if someone have the time.
pfSense 2.2.5-RELEASE (amd64)
IPSEC Phase 2
172.16.246.8/29 <-> 172.16.42.24/30
This works perfect, Server1 can access 172.16.42.25 and 172.16.42.26
Now here comes the problem. Have a OPENVPN: 10.0.0.0/24
Is it possible to NAT OPENVPN through a virtual IP, lets say 172.16.246.9/32?
So if I try to access 172.16.42.25 it will go over the IPSEC and connect to the remote server?
Been testing a lot of ways, but I cant get it to work. The OPENVPN still goes out via standard GW and I cant see that the NAT to the VIRTUAL IP i have created even works. Feels like a route or nat issue :(
Dont want to add another IPSEC Phase2, so that is not a solution.
Thanks in advance
Think I found the problem.
Adding a secunday phase 2 with the OPENVPN range and then set the NAT/BINAT option to 172.16.246.9/32 seems to have fixed it.
If anyone else have the same problem