Skip to main content

IPsec VPN BETWEEN CISCO AND FORTIGATE

 IPsec VPN can be simply understood as means of providing security of our critical data sent over public network. IPsec is very much secure as it uses lot of different protocols to add encryption as well as authentication. 

I will not be explaining each and every components of IPSec in this particular blog but would just be demonstrating a configuration of simple IPSec VPN between 2 sites making use of Fortigate 500 E and Cisco ISR 4451. This blog only contains configuration of FortiGate in particular.

PROCESS 1 

The first process is to go under VPN and then click on IPsec Wizard. We will be creating an custom IPsec profile with a name site-to-site-vpn.


PROCESS 2 
We will now need to input all the parameters required for completing the VPN process. At the beginning we will be configuring for PHASE I parameters mentioning  things like remote IP address which is 110.44.119.21 in our particular case. We will also be configuring things like authentication type, hashing algorithm , group, lifetime and encryption. Pre- shared key will be used for authenticating in this particular configuration. IKE Version 1 is being used.


PROCESS 3 
We will now configure for PHASE II of IPsec VPN mentioning about parameters that we are going to use for Encyrption ,Authentication and also things like PFS, Anti Replay Detection etc.


PROCESS 4 
Firewall policy needs to be added for both direction which you can see in the below screenshot that I have attached. The first screenshot displays traffic that is being allowed from tunnel interface (Incoming Interface) to the lan interface (Outgoing Interface). Nat will be disabled in this policy and also have not used all the other security profiles.


The second screenshot displays that traffic is being allowed from LAN Interface (SOSYS) towards the Outgoing interface (tunnel interface) .   


PROCESS 5
We will now need to add the static route where the destination IP is 10.10.254.0/24 and the next hop will be the public IP of the remote router which being 110.44.119.21.


We will need to configure it same in the Cisco Router as well with exact same parameters that has been used in the Fortigate Firewall Phase I and Phase II.
Lets' now finally verify in Fortigate as well as in the Cisco Router side.
We will need to at least send an icmp request from either of the side for IPsec VPN to come up. 


The VPN looks to be up from Fortigate side let us verify now from the Cisco Router side as well.

We can clearly see that ISAKMP PHASE I looks to be up and in the QM_IDLE state. Let's check for the PHASE II part as well.

Bravo ! The VPN Tunnel is IP and also reachable. The destination IP in our case is 172.16.0.18 which falls under SOSYS Interface of the Fortigate.
Configuring IPsec VPN in Fortigate is very simple in compared to some other firewalls and router. I will end my blog here and be writing more about VPN in my next blog.

















Comments

Popular posts from this blog

SSL Decryption FortiGate

  We have pretty much heard about SSL decryption and of malware hiding inside an encrypted traffic. A large amount of traffic in the internet is pretty much encrypted which basically means that bad things like malware, virus, ransomware can hide inside this encrypted traffic. If majority of these traffic are encrypted our Firewalls are not able to analyze these traffic which can easily infect our organization and the investment which we have done in these firewalls are wasted. There does come around a solution for this and as my topic suggest SSL Decryption also know as Deep Packet Inspection as by some IT folks. The image that I have attached down below clearly suggest about what I am trying to explain. Using deep packet inspection, the firewall simply decrypts the encrypted traffic happening  between client and server, inspects the content to find the threats and block them , then forwards it to the destination re-encrypting it . We will need to first setup the SSL/SSH in...

High Availability Palo Alto (Active/Standby)

 High Availability is usually performed in most of the data centers networks today which ensures application availability . High Availability is usually achieved in case one of the appliance goes down or have some physical or logical connectivity issues.  Achieving high availability in Palo Alto firewall is relatively very easy. Palo Alto firewall can work in both Active/Standby mode or in Active/Active. We will basically be talking about Active/Standby mode in this article. There are basically two links that needs to be configure in Palo Alto for HA. 1. Control Links Control Links are associated with control plane traffic which is mainly used for heartbeat exchanged, configuration synchronization. Dedicate HA ports are available in higher series of Palo Alto or even a HA interface can be created for some inband ports.   2. Data Links Data Links are mainly used for session synchronization, forwarding table synchronization. Dedicated HSCI Ports are available for highe...

Virtual Chassis Juniper EX 3400 (PREPROVISONED)

Juniper has always been an technology that I have always liked right from the beginning of my career when I was working as an Jr Network Administrator. The logical command as well as the hierarchy based Juniper devices has always made me love the device. Let me today talk about a very useful and an interesting topic which we usually called stack in the world of Cisco and virtual chassis in the world of Juniper, both of them mean the same thing logically make two or more than two switch as a one and configure and manage the device as a single unity. High Availability, managed configuration and maintenance are few of the benefits that a virtual chassis can provide. The configuration for virtual chassis can be found easily in the juniper sites but my objective about writing this is making it more simpler in context to Juniper's document. There are basically two ways of configuring virtual chassis in Juniper. 1.   Nonprovisioned configuration  :  The master switch assig...