Posts

Showing posts from January, 2022

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

Change and Manage Windows 10 user and privilege Account

 Since the arrival of Windows 8 out of 2012, Microsoft has been moving its working framework towards a cloud-first way of thinking. The arrival of Windows 10 places that technique going full speed ahead. This bigly affects how you sign in to your Windows 10 PC. Verifying on Windows 10 takes on two essential techniques: a Microsoft Record or a Neighborhood Record. Each record can likewise be arranged with various login certifications, honors, and inclinations. In this article, we'll tell you the best way to deal with every one of your Windows 10 records Adding, Designing, and Changing Windows 10 Records Regardless of whether it's a work PC, a PC, or a family PC, some random Windows 10 gadget might have various clients with different degrees of obligation. The wide scope of choices for arranging your Windows 10 records and honors and authorizations tends to this. Some portion of the intention is to ensure your framework and your own data you wouldn't need a visitor to have fu

how to remote access a router and switch in packet tracer || telnet in cisco packet tracer

Image
Cisco Router Remote Access Here's the following steps for the Remote access of Cisco Router/Switch . For Telnet Remote Access Cisco Switch Configuration:- First you need to configure the Username  and Password . Configure the enable password/secret (either enable password or enable secret.) Configure the Line vty 0 15 (as your  wish you can take upto 15 so that 15 can access the device the same time). Configure the line vty password Configure an IP to any VLAN (Say Vlan 1) and make it up by no shutdown. In the pc or laptop configure the IP of the same network and check the reachability by ping. Finish. Here is the Logical view:- LOGICAL VIEW For Telnet Remote Access Cisco Router Configuration:- First you need to configure the  Username  and  Password . Configure the enable password/secret (either enable password or enable secret.) Configure the Line vty 0 15 (as your  wish you can take upto 15 so that 15 can access the device the same time). Configure the line vty password Configur