How to Block TeamViewer
Create a filter as bellow, the filter item should be ".dyngate.;.teamviewer." (Figure 1-1).
This filter item depends on the URL TeamViewer tries to connect, it may be different in different countries. You can get this in the "Connection information" dialog box as bellow when a client trying to use TeamViewer via CCProxy (Figure 1-2).
Enable this filter for the client for which you want to block TeamViewer (Figure 1-3).
Please refer to this article to get more details of how to use web filter.