Configuring a FortiGate Anti-Virus Firewall
Previous  Top  Next


This information is a summary from the FortiGate 60 configuration manual.

For more details:
http://docs.forticare.com/fgt/admin/01-28008-0002-20050909_FortiGate-60_Administration_Guide.pdf


You can configure the FortiGate unit from the CLI or web interface to send logs to a remote computer running a syslog server.

Command syntax pattern

config log syslogd setting
  set <keyword> <variable>

config log syslogd setting
  unset <keyword>

get log syslogd setting

show log syslogd setting

Note: The only command keyword for syslog setting that is not represented in the web based manager is the facility keyword.

Examples:

This example shows how to enable logging to a remote syslog server, configure an IP address and port for the server, and set the facility type to user.

config log syslogd setting
  set status enable
  set server 220.210.200.190
  set port 514
  set facility user
end

This example shows how to display the log setting for logging to a remote syslog server.

get log syslogd setting

This example shows how to display the configuration for logging to a remote syslog server.

show log syslogd setting

If the show command returns you to the prompt, the settings are at default.

More information on configuring FortiGate devices running FortiOS V 2.8 can be found here:
http://kc.forticare.com/default.asp?id=1580&Lang=1&SID=