This is not a TeamViewer issue. This is how your company has their VPN configured. When you are connected to the VPN they have it setup so all of your internet traffic is routed through their systems (not an uncommon thing in the corporate world). By doing this, they can then filter what you go to. They have aparently blocked TeamViewer (also no that uncommon). I am willing to bet that the sites you are trying to go to are not accessable if you where in the office on a company machine as well.
If my post was helpful, Please throw me a Kudos. If my post fixed your issue, please mark it as the solution to help the next person find a solution quickly. Bart Lanzillotti We Do IT USA www.wedoitusa.com