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

Prevent Social Engineering Attacks

How to avoid from social engineering attack:-

1. Avoid disclosing any official Information ℹ️ on untrusted phone 📱 calls 📞, meeting or email ✉️ messages. Attackers often pose as genuine people to gain confidential and official Information to cause a data breach.

Spam calls 📞
2. Avoid phishing attacks-- do not 🚫 open 💌 untrusted email. Do not 🚫 open email attachments which do not seem relevant to any ongoing official communication. If any messages or email conveys a sense of urgency, seems to apply high pressure sales tactics, be careful of opening or clicking on any 🔗 links/ attachments.
Unwanted email ✉️

3. Avoid wishing and phishing attacks-- Do not 🚫 reveal any sensitive information over phone 📱 calls 📞 unless the source is completely verified and trusted. Ask for some verifiable credentials such as name of immediate senior (if the caller poses as an official of another Government Department). Try to get assurance as to the identity 🆔 of the caller prior to disclose any vital information ℹ️.
Fake calls 📞 phishing attacks
4. Be careful of honey traps/ quid pro quo scams where attackers pose as genuine person and make a data theft attempt seems like a fair communication.
Unsafe 🕸️ website

5. Avoid phone 📞 calls 🤠 scam or ✉️ email SMS regarding unknown inheritance, foreign lottery, funds transfer request from foreign country, etc. These are just examples of scams to get some money 💲 or Information ℹ️ from you.
Lottery scams

6. Power supply should be controlled through UPS or surge protector. Sudden power cuts may result in loss of data or non-recovery of important systems due to corruption of operating systems files.
Power supply issue data loss
Important Note:-

1. Don't leave without closing all browsers and logging out from the public computers.
2. Do not click on untrusted URL. Check the certificate validity of https icon before opening any link.
3. If any message or email conveys a sense of  urgency, seems to apply high pressure sales tactics, be careful of opening or clicking on any link/ attachment.
4. Avoid phone calls/ emails/ sms regarding unknown inheritance, foreign lottery, fund transfer request from foreign country, etc.
5. Immediately change your password if revealed to anyone for any purpose. 


Comments

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