Not that guy

Just more ramblings of another IT Guy

Interface Statistics

diag hardware deviceinfo nic “interface name”

Reset Fortigate Admin Password

Connect a console cable then reboot the unit. As soon as th login promt appears use the username “maintainer” and bcpbFGTxxxxxxxxxxxxx as the password where the “xxxxxxxxxxxxx” is the case sensitive serial number of the unit

Remotely view and disconnect RDP sessions

When encountering error ““You exceeded the allowed connection count”” when trying to login to a server use the following commands to view the active sessions and also to end them

To view : qwinsta /server:yourservername

 

To end : rwinsta ID /server:yourservername

 

or

 

query session /server:SERVER2

reset session [ID] /server:servername

(better example here)

 

  ask a doctor free .

Posted in Windows | Leave a comment

Linux networking

Add default gateway in /etc/sysconfig/network

i.e. “GATEWAY=1.1.1.1”

Restart the neowkring service using

/etc/init.d/network restart

 

Basic Fortigate troubleshooting commands

http://itsecworks.wordpress.com/2011/07/18/fortigate-basic-troubleshooting-commands/

Windows static route

route [-f] [-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric]] [if Interface]]

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/route.mspx?mfr=true

Posted in Windows | Leave a comment

Fortigate Radius Authentication issue

While attempting to configure a Fortigate 80c to use an external radius server it encountered errors in that every authentication request that went through did not succeed.

 

It was discovered that there is a limit on the number of characters allowed in the secret for the Primary server.

 

 

Fortigate open port 541

A portscan of the wan side of a Fortigate device whill show that port 541 is open. This port is used for Fortimanager and Fortiguard Server. If you do not use either of these services the port can be closed using the following:

 

config system central-management

set status disable

Posted in Fortigate | 2 Comments