Internet Playing Counter Strike

What do i need to play counter strike 1.6 /1.5 on internet??
I've instaled counter strike from lots of different places and the answer was always the same " Lan Servers Are Restricted (class C)"


where are you connecting from?
whats your connection speed/line?
are you using steam?
what causes the message to appear?
where does it appear?