Posts

Showing posts from April, 2023

How to create DHCP server and a policy in the Fortigate

Here is an example script that demonstrates how to use the  fortigate-api  package to create a DHCP server and a policy in the Fortigate   from fortigate_api import FortigateAPI # Create a FortigateAPI object fgt = FortigateAPI(host="host", username="username", password="password") # Create a DHCP server data = {     "default-gateway": "192.168.255.1",     "netmask": "255.255.255.0",     "interface": "vlan.123",     "ip-range": [         {"start-ip": "192.168.255.2", "end-ip": "192.168.255.254",}     ], } fgt.dhcp_server.create(data) # Create a policy in the Fortigate data = dict(     name="POLICY",     status="enable",     action="accept",     srcintf=[{"name": "any"}],     dstintf=[{"name": "any"}],     srcaddr=[{"name": "all"}],     dstaddr=[{"name&quo

Network Security || Why Network Security ? || Advantages of Network security

Image
  So, let us start with the question of why security? to answer this we have to go into the history when people used to send their letters by Post, we were having something called a post-box and the post office was the entity involved in sending and receiving messages so how we used to send our letters by making it up into the envelope making is secure so that no one else can able to read the information when it is passing by if anyone tries to do so it can easily be identified because the envelope needs to be open for doing it. So from this whole story, I want to make you understand how this network security works the same as sending an envelope from  Source-to-Destination  which contains your secret message that we don't want to share with anyone. These are the process involved in the Network Security for sending any message to someone are as follows: Firstly , data is taken in a plain text format and converted into an encrypted secure message with the help of a key. Secondly , i

What is #NetworkVirtualization? #network #virtualization || wat are the benefits of network virtualization and we should go for it.

Image
Network Virtualization   In today's fast-paced and constantly evolving business landscape, organizations need to be able to quickly adapt to changing business needs and demands. This includes the ability to rapidly scale their IT infrastructure to support new applications and services, while also maintaining high levels of security and efficiency. One technology that has become increasingly popular in recent years for achieving these goals is network virtualization. Network virtualization is a technology that allows multiple virtual networks to coexist on a single physical network infrastructure. By creating virtual networks on top of a shared physical network, administrators can better manage network resources and optimize performance, while also improving security and reducing costs. One of the primary benefits of network virtualization is that it allows for more efficient use of network resources. By creating virtual networks, multiple organizations or departments can share the