Stupid question

bees

Well-Known Member
Joined
Oct 23, 2004
Messages
490
Reaction score
17
Location
Cape Town
I have a DynDns account setup at home, pointing to my CCTV system. Why, if I'm on the same wifi network, and I try connecting to the DVR via the dyndns name, does it not want to work, only on the local IP? I assume my router is to blame? What is the technical name for what I'm trying to do, and will it work with a normal home router, or do I need some other piece of hardware?
 
It's called Reverse NAT. Some home routers support it, I know my TP-Link 1043ND does.
 
What kind of router you have bees ?.

Unfortunately you will need to set up a couple of "interesting" NAT rules on the router, and I doubt a general home router can handle these. (I have a Linksys WRT54GL which does this quite nicely)

Or, you could simply fool your Windows hosts file with these entries:

192.168.0.1 myhost.dyndns.org #Replace the IP with the ip of machine hosting service on your LAN
 
I have a DynDns account setup at home, pointing to my CCTV system. Why, if I'm on the same wifi network, and I try connecting to the DVR via the dyndns name, does it not want to work, only on the local IP? I assume my router is to blame? What is the technical name for what I'm trying to do, and will it work with a normal home router, or do I need some other piece of hardware?

I suspect the following is happening.
Your machine resolves the security camera's to a public IP.
Your machine sends the traffic to that IP, but when it gets to the router, the router finds that it is destined to the outside interface of the router.
Now there can be a few reasons why this is not working, i think the most likely is because the NAT / port forward is configured from Wan interface to your inside network.
Since you are coming from the inside network, the rule doesnt apply.

What i dont understand, is why dont you just access it locally?

What kind of router you have bees ?.

Unfortunately you will need to set up a couple of "interesting" NAT rules on the router, and I doubt a general home router can handle these. (I have a Linksys WRT54GL which does this quite nicely)

Or, you could simply fool your Windows hosts file with these entries:

192.168.0.1 myhost.dyndns.org #Replace the IP with the ip of machine hosting service on your LAN

Editing the host file will cause an issue when he leaves home. Since he mentions he is using wireless, i suspect he has a laptop.
 
Thanks guys. I access the cameras from ipad and iphone mostly, so hosts file editing won't work. Currently I have 2 DVR's setup, calling it "DVR Local" and "DVR Remote", and access them accordingly, but would like an easier solution, seems like there isn't with my current hardware. Have a Billion 400 some or other Telkom router so doubt it'll have that functionality...
 
Top
Sign up to the MyBroadband newsletter
X