Site to Site IPSEc without direct connected private IP
- 5 replies
- 9115 views
Dear all
this will be my very first post and please go easy on me :) and I hope I get good respond and thanks before!
So far, any fortinet literature or cookbook or video only show that site-to-site IPSEc is created between two fortigate (site to site ipsec illustration.png), and the policy and static routing is created based on the two directly connected subnet (to fortigate). For example, between HQ internal network (assuming 10.10.10.0/24) to Branch internal network (assuming 192.168.10.0/24), the private network is part of directly connected subnet to the fortigate physical interface.
What happen if private network is behind another layer 3 device? for example, I want to create a VPN between 10.10."20".0/24 to 192.168."20".0/24. it means, both those .20 network are not directly connected to fortigate broadcast domain / physical interface.
If I am configuring HQ FGT, Should I simply state local address as 10.10.20.0/24 and remote address as 192.168.20.0/24 in Phase 2 IPSec custom configuration? After that, the virtual tunnel interface will be created.
I will follow up with adding "static route" to dest 192.168.20.0/24 with gateway 0.0.0.0 with WAN 1 as interface.
after that, create
IPv4 policy: to remote.
incoming interface: virtual tunnel interface created above.
outgoing interface: WAN
IPv4 policy: from remote
incoming interface: WAN
outgoing interface: virtual tunnel interface created above
