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.
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:
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. |
great job @vbarrios thank you!
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.