I have Teamviewer 10 Premium and a Sonicwall TZ-210. Teamviewwer works for about one minute on the internet then disconnects.
On the internal network I have no issues. I only have issues if over the internet.
I have removed the SonicWall TZ-215 from the network and Teamviewer 10 works correctly.
I wasn't using IPS but turned it on and disabled the function for Teamviewer and that made no difference.