Fortinet 60c manual Using the command line interface, Go to System Router Static

Page 30

Using the command line interface

NAT/Route mode installation

 

 

1Go to System > Router > Static.

2If the Static Route table contains a default route (IP and Mask set to 0.0.0.0), select the Delete icon to delete this route.

3Select Create New.

4Set Destination IP to 0.0.0.0.

5Set Mask to 0.0.0.0.

6Set Gateway to the default gateway IP address.

7Set Device to the interface connected to the external network.

8Select OK.

Using the command line interface

You can also configure the FortiGate unit using the command line interface (CLI). For information about connecting to the CLI, see “Connecting to the command line interface (CLI)” on page 17.

Configuring the FortiGate unit to operate in NAT/Route mode

Use the information that you gathered in Table 6 on page 28 to complete the following procedures.

To add/change the administrator password

1Log in to the CLI.

2Change the admin administrator password. Enter:

config system admin

edit admin

set password <psswrd>

end

To configure interfaces

1Log in to the CLI.

2Set the IP address and netmask of the internal interface to the internal IP address and netmask that you recorded in Table 6 on page 28. Enter:

config system interface edit internal

set mode static

set ip <address_ip> <netmask>

end

30

01-28008-0018-20050128

Fortinet Inc.

Image 30
Contents Installation Guide January 01-28008-0018-20050128Trademarks Regulatory ComplianceTable of Contents Index Secure installation, configuration, and management IntroductionCommand line interface Web-based managerSetup wizard Document conventionsFortiGate Installation Guide FortiGate documentationComments on Fortinet technical documentation Related documentationFortinet Knowledge Center FortiManager documentationCustomer service and technical support FortiMail documentationFortiLog documentation Customer service and technical support Customer service and technical support Getting started Package contents MountingEnvironmental specifications Turning the FortiGate unit power on and offPower requirements To power on the FortiGate unitConnecting to the web-based manager To connect to the web-based managerBits per second 9600 Data bits Parity Connecting to the command line interface CLITo connect to the CLI Stop bits Flow controlQuick installation using factory defaults Go to System Network DNSFactory default FortiGate configuration settings Factory default Dhcp server configurationFactory default NAT/Route mode network configuration Administrative access Factory default Transparent mode network configurationFactory default firewall configuration Management IPFactory default protection profiles StrictScan Planning the FortiGate configuration NAT/Route modeNAT/Route mode with multiple external network connections Example NAT/Route mode network configurationTransparent mode Example NAT/Route multiple internet connection configurationConfiguration options Web-based manager and setup wizardNext steps NAT/Route mode installation Preparing to configure the FortiGate unit in NAT/Route modeUsing the web-based manager Dhcp or PPPoE configurationPPPoE settings User name Password To configure DNS server settings Go to System Network DNS Configuring basic settingsTo configure interfaces Go to System Network Interface To add a default routeTo add/change the administrator password Using the command line interfaceConfiguring the FortiGate unit to operate in NAT/Route mode To configure interfacesExample Get system interfaceUsing the setup wizard To configure DNS server settingsDhcp server Setup wizard settings PasswordExternal Interface Internal serversConnecting the FortiGate unit to the networks Starting the setup wizardSetup wizard settings Antivirus FortiGate-60 NAT/Route mode connections FortiGate-60Configuring the networks Configuring the Modem interfaceTo set the date and time Go to System Config TimeTo configure virus, attack, and spam definition updates To register the FortiGate unitGo to System Maintenance Update Center Transparent mode installation Preparing to configure Transparent modeTo change the Management IP Go to System Network Management Management IPReconnecting to the web-based manager To change to Transparent mode using the CLITo configure the management IP address To configure the default gatewayTo start the setup wizard Connecting the FortiGate unit to your network InternalTo register your FortiGate unit Go to System Maintenance Update Center High availability configuration settings High availability installationConfiguring FortiGate units for HA operation Priorities of heartbeat device and monitor prioritiesGroup ID MAC Address To change the FortiGate unit host name Configuring FortiGate units for HA using the CLI Config system global Set hostname namestr endConnecting the cluster to your networks To configure the FortiGate unit for HA operationHA network configuration To connect the clusterInstalling and configuring the cluster Installing and configuring the cluster Configuring the modem interface Selecting a modem modeRedundant mode configuration Standalone mode configuration To operate in standalone mode Go to System Network ModemAuto-dial Configuring modem settingsMode Redundant forConnecting and disconnecting the modem in Standalone mode To configure modem settings Go to System Network ModemTo connect to a dialup account Go to System Network Modem To disconnect the modem Defining a Ping ServerDead gateway detection ISPAdding firewall policies for modem connections Index CLIIndex