IPSec mobile clients connecting to OpenVPN site-to-site VPN
-
@kiokoman said in IPSec mobile clients connecting to OpenVPN site-to-site VPN:
let me summerize because english is not my first language,
HQ to 192.168.20.0/24 work
ipsec to 192.168.20.0/24 does not work
HQ to 192.168.20.0/24 when ipsec is connected does not work
correct?HQ (192.168.1.0) to Second Site (192.168.20.0/24) work
Second Site (192.168.20.0/24) to HQ (192.168.1.0/24) work
Mobile (192.168.32.0/24) to HQ (192.168.1.0/24) work
Mobile (192.168.32.0/24) to Secondary (192.168.32.0/24) not workHQ and Secondary are connected via an OpenVPN site-to-site.
Mobile is connected via IPSec and Mobile only connects to HQMy IPSec P2 for the mobile connections:
-
i think that you need to add a second phase2 with the network you want to reach
-
@kiokoman said in IPSec mobile clients connecting to OpenVPN site-to-site VPN:
i think that you need to add a second phase2 with the network you want to reach
Okay, here is what I tried to add but am still not able to connect from the mobile IPSec client via HQ to the secondary network:
Thanks again for the help.
-
it's the tunnel 10.3.100.0/30 that connect you to 192.168.20.0/24
-
@kiokoman said in IPSec mobile clients connecting to OpenVPN site-to-site VPN:
10.3.100.0/30
I tried this but it did not work - thoughts? thanks again
-
are you adding or modifying the phase ? did you also check the firewall rules ?
-
@kiokoman said in IPSec mobile clients connecting to OpenVPN site-to-site VPN:
are you adding or modifying the phase ? did you also check the firewall rules ?
Adding a second P2
I have all the ipsec and openvpn firewall rules set to allow all - is there something specific I should be checking?
-
ok i reproduced it on my lab and it's working now
on my lab i have ipsec to -> openvpn client to -> openvpn server
ipsec is 192.168.130.0/24
lan is 192.168.120/24
openvpn tunnel 10.3.100.0/30
openvpn server 10.3.100.0/30
remote lan 192.168.3.0/24ipsec:
client vpn:
server vpn:
be sure that ipv4 remote network on the openvpn server have the network of your ipsec defined
-
@kiokoman said in IPSec mobile clients connecting to OpenVPN site-to-site VPN:
idk i have reproduced this on my lab and i have the same problem. i'm still checking this
Thanks so much for the help!
One thing I thought of this morning is that the P2 rule I created was listed second - the first P2 was to route everything (0.0.0.0) and the second P2 was to route to the OpenVPN tunnel address. I will try reversing this order when I get a chance this morning to see if that helps.
Any advice you can offer would be greatly appreciated. Thanks again
-
i have modified my previus answer check that
-
That fixed it!
FWIW, I had to make the change in the client OpenVPN configuration to allow the IPSec IP range because in my configuration the IPSec connection is to the OpenVPN server.
Thanks again...please let me know if I can send you a cup of coffee for your help!
-
just press "thumb up" on the answer, the coffee would become cold :)
-
@kiokoman said in IPSec mobile clients connecting to OpenVPN site-to-site VPN:
just press "thumb up" on the answer, the coffee would become cold :)
Thumb up applied.
Thanks again!