Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

thankins

macrumors 6502
Original poster
Oct 25, 2007
266
0
Hi

We have a camera system that sits at cameras.domain.com:8080 that users access outside the network.

When we are inside the network how do we redirect the machines to just go to 192.168.1.3:8080?

I looked through DNS on Server Admin but got lost - any help would be appreciated
 

jackhdev

macrumors 6502
Apr 9, 2011
343
0
Bismarck, North Dakota
Hi

We have a camera system that sits at cameras.domain.com:8080 that users access outside the network.

When we are inside the network how do we redirect the machines to just go to 192.168.1.3:8080?

I looked through DNS on Server Admin but got lost - any help would be appreciated

Would Mobile Access suffice? Changing DNS won't work since an internal IP address given to a machine on the outside is no help. Otherwise try VPN.

Edit: Sorry, misread your question. When you are inside the network, you should just use a DNS server to forward all requests for cameras.domain.com to 192.168.1.3. In the DNS part of Server Admin, click on the "Zones" tab at the top. Then add a primary zone called cameras.domain.com. Add a name server with the same zone and hostname. Then add a Machine Record (A) with the name cameras.domain.com and the IP address 192.168.1.3. You don't need to do anything for the port 8080. It works as long as DNS is correct.
 
Last edited:

jared_kipe

macrumors 68030
Dec 8, 2003
2,967
1
Seattle
You could put a line in /etc/hosts like this
192.168.1.3 camera.domain.com

You would of course need to do that for every machine, and when they go outside the network they would need to remove the line.

You could accomplish this better with a DNS server on your network, or with a lot of routers.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.