Created on
06-26-2023
09:35 PM
Edited on
11-19-2025
10:20 PM
By
Jean-Philippe_P
| Description | This article describes how to block TeamViewer using the ISDB firewall policy. |
| Scope | FortiGate. |
| Solution |
Below are the ports and URLs used by TeamViewer: TCP/UDP 5938 (preferred).
To view the list of the IP address and port used by TeamViewer in the FortiGate CLI, use the following command:
diagnose internet-service id | grep -i TeamViewer-TeamViewer
Sample output from the FortiGate:
diagnose internet-service id | grep -i TeamViewer-TeamViewer
diagnose internet-service id 1835117 |
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.