The easiest thing to do is enable UPnP (universal plug n play) in your router. this will allow your dvr to send requests to the router to open any necessary ports and forward them to the dvr.
Also, opening random ports will do you no good. You need to know which ports your dvr uses and forward those ports. As stated, UPnP is the easier of the two options.