如果不小心把Fortigate的Admin 管理者信任主機欄位設定錯誤,導致無法從網頁管理界面或 ssh / telnet 登入管理,可以透過Fortigate的console埠重設信任主機欄位。以下是從Linux / Debian 電腦上面,透過USB轉序列埠連接上Fortigate。
Fortigate serial port configuration : 9600 8N1 / none HW flow control / none SW flow control
Under Linux terminal :
Option 1 : cu command
:~$ cu -l /dev/ttyUSB0 -s 9600 --parity=none --nostop
Connected.
FGT60C login:
FGT60C login: admin
Password: ******
Welcome !
FGT60C #
FGT60C # config system admin
FGT60C (admin) # edit admin
FGT60C (admin) # unset trusthost1
FGT60C (admin) # unset trusthost2
FGT60C (admin) # unset trusthost3
FGT60C (admin) # unset trusthost4
FGT60C (admin) # end
FGT60C # exit
FGT60C login: ~.
( here the last input "~." is the disconnect string of cu )
Option 2 : minicom command
:~$ minicom -D /dev/ttyUSB0 -b 9600 -8
others the same as above, use ctrl-a then press x to confirm leave minicom.
沒有留言:
張貼留言