Your ports need forwarding.
According to portforward.com you need;
Call of Duty - Modern Warfare 2 TCP-27014-27050 UDP-1500, 3005, 3101, 27000-27030, 28960.
http://portforward.com/
Just go on there and select your make and model of modem and follow the instructions. You'll need to get your...