help with Teamviewer?
Port forwarding is done most commonly in your router.
To reduce ping time first do a tracert xxx.xxx.xxx.xxx and see how many hops you are getting and the total time it takes. Try changing your NIC DNS to DNS1:8.8.8.8 and DNS2 to 8.8.4.4 These are Google's DNS servers, your ISP's are usually useless.
Get back with the results of before and after.