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

Cyber Crime related awareness

 Cyber identity theft and cyber impersonation:-

What constitutes the crime and punishment in world-

1. Creating a fake account in someone else name on MS using login credentials of someone else.

2. It is a crime under section 66C and 66D of the information technology act 2000.

3. Punishment for carrying out such a crime is 3 years in jail and fine up to rupees 100000.

How to avoid (public information)-

1. Follow password best practices.

2. Identifying phishing emails and avoid phishing.

3. Use safe net banking / mobile banking practices.

4. Making sure that credit / debit card PIN are kept secret.

5. Use of social media in a safe manner.

Sending and publication of obscene or sexually explicit materials:-

What constitutes the crime and punishment involved- 

1. Is an offence under section 67 and section 67A of the information technology Act, 2000.

2. Under section 67, for fishing or transmitting of obsense material-liable to imprisonment of 3 years with fine upto rupees 5 lakh.

3. Under section 67A for publishing or transmitting sexually explicit material-liable to imprisonment of 5 year with the fine of rupees 10 lakh.

How to avoid (public information)-

1. Do not send to anyone any  defamatory, offensive or obscene message which may be cause any individual or group of people a negative impact.

2. Do not transmit any sexually explicit material with any WhatsApp group, messenger, etc.

3. Immediately delete if any such message is received so that there is no scope and unintentionally forwarding.

4. Follow safe browsing habits.

Violation of privacy through capturing, publishing and transmitting image of private area of a person without consent:-

1. Constitutes a crime under section 66E of the information technology Act, 2000.

2. Punishable with three years of imprisonment and 200000 rupees of fine.

3. Child pornography 🚸- sexual abuse, creating video clip 📷, publishing, transmitting or facilitating of these in any way, of any person under 18 years of age-is a crime under section 67B of the Information Technology Act, 2000.

4. Section 67b stipulates 5 year imprisonment and 10 lakh rupees fine for first instance, which goes up to 7 years imprisonment and 10 lakh rupees fine for repeat offences.

How to avoid-

1. Do not capture yourself / or allow anyone else to capture your private images using any electronic device.

2. Do not capture anyone in a physically private space.

3. Be aware of possible cameras in public spaces such as trial rooms of retail stores or malls.

4. Do not trust anyone-no matter how intimate relationship- to capture your private images/ videos.

Cyber terrorism threatening unity, integrity, security or sovereignty of India:-

1. Cyber terrorism is an offence under section 66F of Information Technology Act, 2000. It is punishable with imprisonment for life time.

2. Cyber terrorism as the name suggest if is any activity related to computer resources (including mobile phones), which may lead- 

3. To the death or injuries to any person.

4. May to disruption of critical public services.

5. May lead to negatively affect the relationship of this country with any foreign state.

6. Can harm national security or integrity or sovereignty.

Awareness plan for citizens:- 

Be vigilant for any cyber activity which metric ton the unity and integrity of the country and society.







Comments

Post a Comment

Popular posts from this blog

How to Configure VXLAN in FortiGate Firewall

Higher Availability in FortiGate and VRRP in Cisco

Python Script to take the Backup of Multiple device in a Network