Hello,
I have 3 fortigates A, B and C.
The fortigate B connects to the A and C fortigade with IPSEC vpn. In fortigate A I have internal network 10.0.10.0/24 In fortigate B I have internal network 10.0.20.0/24 In C fortigate I have internal network 10.0.30.0/24
The network 10.0.20 accesses the networks 10.0.10 and 10.0.30, but I need to make the network 10.0.10 access the network 10.0.30, passing through the fortigate B. Making vpn between Fortigates A and C is not an option.
How do I do this?
TKS for all.
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Strange answers. This is not about an additional VPN but simple routing and policies.
To go from A to C, via B:
1. on FGT A:
- add a static route for the network C, gateway interface is the tunnel to B, no gateway address
- the tunnel between A and B should have 2 phase2's:
one from network A to network B
one from network A to network C (so this one needs to be added)
- in the policy from A to B, add network C's address range as destination address
2. on FGT C:
- add a static route for the network A, gateway interface is the tunnel to B, no gateway address
- the tunnel between C and B should have 2 phase2's:
one from network C to network B
one from network C to network A (so this one needs to be added)
- in the policy from C to B, add network A's address range as destination address
3. on FGT B:
- create 2 new policies:
- from tunnel A to tunnel C
- from tunnel C to tunnel A
with the correct source and destination addresses.
So, in short words, make sure the tunnel carries 2 destination networks (via 2 phase2's) and the policy allows the remote network. FGT B will do the routing, the transit traffic is allowed by 2 additional policies.
Let us know if this works for you.
Also, you must create the VPNs in interface mode. Policy mode will not allow the routing you wish.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Strange answers. This is not about an additional VPN but simple routing and policies.
To go from A to C, via B:
1. on FGT A:
- add a static route for the network C, gateway interface is the tunnel to B, no gateway address
- the tunnel between A and B should have 2 phase2's:
one from network A to network B
one from network A to network C (so this one needs to be added)
- in the policy from A to B, add network C's address range as destination address
2. on FGT C:
- add a static route for the network A, gateway interface is the tunnel to B, no gateway address
- the tunnel between C and B should have 2 phase2's:
one from network C to network B
one from network C to network A (so this one needs to be added)
- in the policy from C to B, add network A's address range as destination address
3. on FGT B:
- create 2 new policies:
- from tunnel A to tunnel C
- from tunnel C to tunnel A
with the correct source and destination addresses.
So, in short words, make sure the tunnel carries 2 destination networks (via 2 phase2's) and the policy allows the remote network. FGT B will do the routing, the transit traffic is allowed by 2 additional policies.
Let us know if this works for you.
Also, you must create the VPNs in interface mode. Policy mode will not allow the routing you wish.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
jeez, who still knows policy based VPN, let alone use it...:-)
LOL! Covering all bases. ;)
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Hi!
I am in same situation and did the steps as mentioned but cannot ping from A to C.
What type of phase2 settings should I setup between A and C? I did same for A and C
Will they both match with each other or
it should same as A and B and B and C?
Thanks
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1660 | |
1077 | |
752 | |
443 | |
220 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.