@sohaib
Find out what your ip is from here:
if you're using the tanel 5165 source you need to go to C:\OldCODB\config.ini
and then change the IP address to what you found on the site. So now people should be able to connect directly to your server using your IP without the need for hamachi.
Be sure to change server.dat also.