First of all download the game from this torrent :- Call of duty
than download these patches:-
after applying the needed patches heres two things you have to download
place them in your cod 5 directory
and the client patch
open the console and type "connect [IP]"
for example connect 123.456.789:99
Press F3 before connecting to a server
press F4 during 2-3s during the map loading to be sure it works perfectly !
Once connected, Press F5 to close the patch to prevent any problems.
[Be sure to assign any action/function on F1-F2-F3-F4 or you will receive a kick every time you press any F1-4 key !!]
Follow all these steps and you will be able to play cod 5 online nonsteam :)