Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using an Fortgate 50b router, but without knowing why, I lost the configuration of the gatway.

How do I reset to the initial configuration?

I can't access the web-config on

share|improve this question
I tried to make your post understandable. It has nothing to do with linux, so I also changed your tags. – Bart De Vos Apr 13 '11 at 13:20

Best bet would be to get the console cable and use a terminal program such as Putty, Hyperterminal or TeraTerm on a serial port. You can get cli access to the Fortigate that way and if you've still got the username and password, log int and then type in (as almost suggested above) execute factory-reset. That should drop you back to the default settings. If you don't know the username and password (defaults are just 'admin' with no password), you can try the following:

(blog is nothing to do with me but no point copying and pasting its content here)

Or if that doesn't work you'll need to re-upload the firmware via TFTP by breaking the boot sequence. You'll need access to the firmware downloads from Fortinet though which would require a valid support contract. may also be your friend here.

share|improve this answer

Check to see if it is still sending out DHCP. Get the gateway address from it and use that to connect to it.

To reset the FortiGate unit to the factory defaults, in the CLI type the command

 execute factory reset

You might also want to read the QuickStart Guide

share|improve this answer
how can i execute it??? – paulo machado Apr 13 '11 at 17:10
Do you get an IP from the router? – Bart De Vos Apr 14 '11 at 5:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.