Skip to main content
vbarrios
Staff
Staff
November 29, 2024

Technical Tip: How to telnet a host from the FortiGate CLI

  • November 29, 2024
  • 1 reply
  • 7299 views
Description This article provides the required command to telnet a host from FortiGate.
Scope FortiOS
Solution

To run a telnet from the FortiGate CLI, enter the same 'execute' command used in FortiADC, combined with the destination host IP and the TCP port.

 

Screenshot 1.png

 

In some situations, the destination host could be down or not listening the TCP port. In either event, a timeout and failed connection message is displayed:

 

Screenshot 2 .png

  

Note telnet tool can be only used for TCP ports, and cannot be used for UDP. Furthermore, some additional options can be found here Technical Tip: Option to select source interface and address for Telnet and SSH.

    1 reply

    GILMENDO
    Staff & Editor
    Staff & Editor
    November 29, 2024

    great job @vbarrios  thank you!