Enabling access to the CLI through the network (SSH or Telnet)
SSH or Telnet access to the CLI requires connecting your computer to the FortiVoice unit using one of its RJ‑45 network ports. You can either connect directly, using a peer connection between the two, or through any intermediary network.
You must enable SSH and/or Telnet on the network interface associated with that physical network port. If your computer is not connected directly or through a switch, you must also configure the FortiVoice unit with a static route to a router that can forward packets from the FortiVoice unit to your computer.
You can do this using either:
• a local console connection (see the following procedure)
Requirements
• a computer with an available serial communications (COM) port and RJ-45 port
• terminal emulation software such as
PuTTY • the RJ-45-to-DB-9 or null modem cable included in your FortiVoice package
• a network cable
To enable SSH or Telnet access to the CLI using a local console connection
1. Using the network cable, connect the FortiVoice unit’s network port either directly to your computer’s network port, or to a network through which your computer can reach the FortiVoice unit.
2. Note the number of the physical network port.
4. Enter the following commands:
config system interface
edit <interface_name>
set allowaccess {http https ping snmp ssh telnet}
end
where:
• <interface_str> is the name of the network interface associated with the physical network port, such as port1
• {aggregator http https ping ssh telnet webservice} is the complete, space-delimited list of permitted administrative access protocols, such as https ssh telnet; omit protocols that you do not want to permit
For example, to exclude HTTP, SNMP, and Telnet, and allow only HTTPS, ICMP ECHO (ping), and SSH administrative access on port1:
config system interface
edit "port1"
set allowaccess ping https ssh
next
end
| Telnet is not a secure access method. SSH should be used to access the CLI from the Internet or any other untrusted network. |
5. To confirm the configuration, enter the command to view the access settings for the interface.
show system interface <interface_name>
The CLI displays the settings, including the management access settings, for the interface.