02-05-2011 03:41 AM - edited 03-06-2019 03:22 PM
Hey everyone
i have an issue
i have a network and DVR which is inside this network and i have 800 (c870) router
the issue is how can i open the port 9999 so i can watch the DVR's cameras remotely
could anyone can help me plz
02-07-2011 07:46 AM
Hello George,
Assuming you have a public IP address on the Outside interface of your Cisco Router, you may need to make a NAT rule to forward the ports of your internal DVR:
ip nat inside source static tcp DVR_Internal_IP 9999 External_IP 9999 extendable
Hope this help,
Osvaldo U.
02-07-2011 11:11 PM
thank you very much my friend it's working
but could you tell me what the difference between your command
ip nat inside source static tcp DVR_Internal_IP 9999 External_IP 9999 extendable
and this command
ip nat inside source static tcp 192.168.2.210 9999 interface Dialer0 9999
what i need to know only the command extendable what work for ?
thnx a lot in advance
02-07-2011 11:20 PM
Hi,
The IOS does not allow two static translations with the same local address, though, because it is ambiguous from the inside. The router will accept these static translations and resolve the ambiguity by creating full translations (all addresses and ports) if the static translations are marked as “extendable”. For a new outside-to-inside flow, the appropriate static entry will act as a template for a full translation. For a new inside-tooutside flow, the dynamic route-map rules will be used to create a full translation.
Hope this clear you.
Please rate the helpfull posts.
Regards,
Naidu.
02-08-2011 04:22 AM
Hello George,
If you use the command "ip nat inside source static tcp 192.168.2.210 9999 interface Dialer0 9999" then you are using the IP configured in the Dialer interface to access the DVR.
You can use the command "ip nat inside source static tcp DVR_Internal_IP 9999 External_IP 9999 extendable" in the cases where you have a RANGE of public addresses and you want you NAT your DVR, to a diferent IP that the one on the interface.
About the EXTENDABLE command, like Naidi said it is used when you want to NAT several inside IP addresses to just one Outside IP address.
Please rate the helpfull posts.
Regards,
Osvaldo U.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide