Cyber security and ethical hacking is now a day's becoming very popular and so the SCAMS are taking place to be updated in this World 🌍🌍 of Technology you should also be aware and for this we will help you
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
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
how to prevent Wi-Fi from hackers||how to do Mac filter in router
Get link
Facebook
Twitter
Pinterest
Email
Other Apps
-
How To Prevent Wireless Attack By Hackers|| Mac-Filtering Of Wi-Fi
The following steps are available to do Mac-Filtering:-
Step 1: Open your cmd or command prompt by using the windows button and the 'R' run box will open in front now just you have to type cmd and press enter.
RUN-BOX
Step 2: After opening CMD or command prompt type 'ipconfig/all there you will get all information related to your network say IP address, subnets mask default gateway, etc. If you are using a normal LAN connection, you must type just this command 'ipconfig'.
IPCONFIG COMMAND
Step 3: Now you have to search for the default gateway and copy it or note it down somewhere.
DEFAULT GATEWAY
Step 4: Now open any of your browsers and paste or type the default gateway there and press enter you will see your router login panel.
INPUT THE DG IN THE BROWSER ADDRESS BAR
Step 5: Now enter the user name and by default if you are using the TP-Link router just enter login username: admin password: admin for any other router please refer to the following link:- Default password of all Routers.
ROUTER LOGIN PANEL
Step 6: Now you have to click on wireless and then in the drop-down menu click on Wireless Mac-Filter and Add the mac Address of the devices you want to connect with your wifi.
WIRELESS MAC-FILTERING
Step 7: Now open your device which you want to connect with wifi and in your WiFi settings find your wifi Mac Address and put it down somewhere or add directly to your router and save it.
THESE STEPS ARE FOR MOBILE/TABLET DEVICES:-
STEP 1
STEP 2
STEP 3 FOR
FOR ANY DESKTOP/LAPTOP FOLLOWING STEPS:-
GETMAC
IPCONFIG
IPCONFIG/ALL OUTPUT
Step 8: After adding all the MAC addresses, you can save and then reboot your router in the tools.
ADD ALL THE DEVICES MAC AND SAVE
Now no one else will be able to connect to your router except whom you allow and you are free of beginning crack by the router.
How to Configure VXLAN in FortiGate Firewall A brief explanation of the given topology: - Ø On top of all, there are two FortiGate Firewalls with L3 connectivity in between. Ø Under Each Firewall we have one Cisco Switch with two VLAN configured i.e.;3500 & 3600 Ø Uplink for switches has been configured with 802.1Q trunk which is connected to FortiGate Firewall. Ø Each switch has two PCs connected one in VLAN 3500 & other one in 3600 VLAN. Ø We have configured VLAN and VXLAN on both the FortiGate Firewall. Ø In this topology PCs in the same VLAN will be able to communicate with each other through a L3 link using VXLAN technology and they will be encapsulated such that both the PCs will think that they are within the L2 domain. FortiGate Firewall Configuration VXLAN Configuration: - FGT-1: config system vxlan edit "vxlan3500" set interface "port
Higher Availability in FortiGate and VRRP in Cisco A brief explanation of the given topology: - Ø On top of all, there are two FortiGate Firewalls one Active other one as Standby. Ø With the Higher Availability (HA) configured for handling the Failover of active Firewall. Ø There are two CORE switches with VRRP Configuration: CORE-1 as Master and CORE-2 as Slave. Ø Between two CORE-1 and CORE-2, two links in the Port Channel have been configured. Ø SVIs and static default route toward the Firewall has been configured for LAN users. Ø Also, the DHCP server has been configured for DATA and VOICE VLANs. Ø Two Layer 2 switches with uplinks as trunk and VLANs. FortiGate Firewall Configuration HA Configuration in FortiGate Firewall: - Here I have kept by default priority i.e.; 128 for “ ACTIVE-FIREWALL ” whose role is primary and I have set 100 for the “ STANDBY-FIREWALL ” whose role is secondary. By default, the selection process of HA in FortiGat
Comments
Post a Comment