Home     About Us     RSSRSS

How to reset FortiGate Firewall to factory default setting without Admin Password

October 18, 2016 by @HKw@! | No Comments | Filed in Fortinet, Uncategorized

fortinetI believe everyone know that Fortigate Firewall can be reset to Factory Defaults by using Web GUI or CLI interface. In the event of you lost or you do not know the admin password for the fortigate unit, how to reset the Firewall unit? The only thing that you can do is to use maintainer account which have permission to do reset for super admin password or do firewall factory reset.

To do that, you will need:

  • physical access the box
  • Console cable
  • Terminal software such as Putty.exe (Windows) or Terminal (MacOS)
  • Serial number of the FortiGate device

Steps:-

– Connect your laptop or computer to the Firewall via the Console port
– Launch your terminal software
– Reboot or Power Cycle the Firewall
– Wait for the Firewall name and login prompt to appear.
– Enter the Username as maintainer, password as bcpb with Firewall Serial no in UPPERCASE

Read the rest of this entry »

PFSense: How to add firewall rule at the command line?

October 8, 2016 by @HKw@! | No Comments | Filed in PFSense

There is a command line available in PFSense firewall to allow you to add firewall rules. In the event of  locked out from firewall due to miss configuration of firewall rules, you may use command line “easyrule” to add firewall rules to let you get in to firewall again.

Below are the syntax and example of easyrule command:-

Syntax EasyRule function

easyrule pass/block <interface> <protocol> <source IP> <destination ip> [destination port]

Example:

easyrule pass wan tcp 0.0.0.0/0 192.168.0.1 80
easyrule pass wan icmp 1.1.1.1 192.168.0.1
easyrule block wan 1.1.1.1



                  
				

Zimbra: How to Reset an User or Administrator password

October 4, 2016 by @HKw@! | No Comments | Filed in Email

zimbra_identity_color_highres-png-440pxUser forgot their email password is a very common IT Support case. In Zimbra mail server, changing email password can be easily done with Admin Console. How about email administrator lost their administrator password? Without Administrator password, you unable to login to Admin Console to reset password. So, is there any way to reset it?

The answer is yes. Below are the few steps show you how to change password for  user or Administrator using CLI.

A) SSH to your email server

B) login as zimbra user

su - zimbra

C) Use command line utility (CLI) zmprov setpassword to reset password

Syntax:

zmprov sp <admin email address> <new password>

Example:

zmprov sp adminname@domain.com password

After changed, try to access Admin Console with new password, it should work now 🙂