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.
PCNSE
NSE
StrongSwan
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
PCNSE
NSE
StrongSwan
Hello Silver,
I am configuring one like you but I cannot make it work as well.
what is the Foritgate mode (interface or switch mode)? What is the port configuration on the core which connect to Fortigate?
For example - I have a core switch port is G0/1. Do I need to change this port to layer 3 port on the core switch?
thanks.
Hello SIlver,
Request to you please share the steps how you done it.
You do not have to change your core switchport in a layer3 port.
You can create a dedicated Vlan and SVI (switch virtual interface). Just define a small network (/29 by example)
conf t
vlan 99
name Cisco_to_FortiGate
int vlan 99
description To_Fortigate
ip address 192.168.99.1/29
! 192.168.99.1 will be your next-hop for your LAN networks on the FortiGate
int gi0/0 <= interface used for the Fortigate connection
switchport trunk encaps dot1q
switchport trunk allowed vlan 99
switchport mode trunk
ip route 0.0.0.0 0.0.0.0 192.168.99.6
! 192.168.99.6 will be configured on the FortiGate side
You will find some interesting informations about the VLAN tagged interface creation here:
System => Network => Create New
Type is Vlan
Select your FortiGate interface connected to your switch
VLAN ID: 99 in this example
IP/NETWORK: Manual / 192.168.99.6/29
Administrative access: PING (you can also add HTTPS and SSH if you want to manage your firewall using this interface)
Don't forget to add your LAN network static routes. In my example, your next-hop will be 192.168.99.1
This link could be useful: https://docs.fortinet.com/document/fortigate/6.4.5/administration-guide/626338/adding-a-static-route
The only thing left to do is to create a filtering policy to allow internet output.
Keep in mind in this topology, your intervlan trafic will not be protected by your firewall.
I have a slight preference for using layer 2 switches only and configuring layer 3 on the firewall.
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 |
---|---|
1733 | |
1106 | |
752 | |
447 | |
240 |
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.