There is no simple way to route every program and game through a proxy in Windows XP, and some games do not support proxies at all.
The core problem is that games use a wide range of ports, and a PC has 65,536 of them. To cover everything you would have to forward all ports, which is a huge security risk. Most programs also use several ports at once and both TCP and UDP, not just one connection type.
You can configure your proxy for individual games, but it is a lot of manual work. Because opening your system that wide is dangerous, it is not recommended. If you do forward ports, make sure to firewall all traffic on your own PC.