Technical Tip: Block TeamViewer using the ISDB firewall policy
| 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 |



