0
My question is related to what I asked about here: Why is my connection refused when port-forwarding?
So I have a device hooked up to my router and I would like to be able to connect to this device from anywhere where I have an internet connection.
The device is a DVR with security cameras. It is meant to have this functionality.
I already configured my router to allow for the necessary ports at the devices address to be forwarded (at least I think I did everything right - see my other question)
So then when it comes to the configuration of the application, I go to the network settings, and I can select STATIC
or DHCP
. When I use STATIC, I can select all the IP addresses and such myself, when I go DHCP I can only change the ports, the IP addresses will be chosen by the app.
However, I think there might be something wrong with my app, because the IP addresses don't make sense, at least not if I compare it to the things I see on the configuration page for my router...
It says IP Address: 192.168.001.100
however my router has assigned 192.168.001.253
for this device!
subnet mask 255.255.255.000
seems to be in accordance with what my router says.
But gateway: 192.168.001.001
I think gateway should be the same address as I have to type in to get to my router, shouldn't it? And for me that's ending in 254
Finally it says the same number for DNS 1
which I have a feeling is not correct.
On my router I can see unter Services > Broadband > Status > Internet Details
an entry for Primary DNS
and Secondary DNS
both which are IP addresses, but not so much the standard kind of 192.168.1.1
, instead they are somewhat similar to my public IP (and I have a feeling I should not publish them here).
Also I should note that I had to use a Lan-Cable splitter because I ran out of plugs/ports on my router. So the device I am trying to connect is sharing a LAN cable with another device. I am using this kind of splitter
So here are my questions:
Why is my application messing up it's IP and such, when on DHCP?
Should I set up everything in STATIC mode and enter the information I get from my router?
With this method, can I safely use the DNS that I see on my router's configuration page?
Also I take it I have to use the private IP inside the network, not my public IP, right?
Thanks for any help, I'm not really savvy with all this network stuff...
EDIT: Starting a bounty
All I want to know is what numbers do I need to plug into the app, so that it'll allow me to connect remotely?
What numbers should I plug in for IP, Subnet Mask, Gateway, DNS1 and DNS2?
1Seems like you have another DHCP server on your network. Can you tell us more about the splitter you are using? Such a thing is not normally possible, so perhaps it something else. – Paul – 2013-12-12T01:23:42.240
Tell me about my DHCP server on my network, because I haven't got a clue about it :D This is the splitter I am using - amazon link It basically allows you to connect 2 devices to the internet using only 1 LAN cable.
– olli – 2013-12-12T01:25:31.2601Can you confirm you are using DHCP when you get the gateway of 192.168.1.1 on the DVR? And if you go to
http://192.168.1.1
in a browser do you get anything? – Paul – 2013-12-12T01:48:12.167I don't get anything when visiting 192.168.1.1 (it says Chrome cant connect) and how could I confirm I am using DHCP? I could switch to stayic, the DVR will promt me to restart, and then i can switch back to DHCP, again, the DVR will promt me to restart, and then show those incorrect values again. Is that what you are asking? – olli – 2013-12-12T02:18:20.093
So I plugged the DVR directly in the router, not using the splitter anymore. I changet it to static (it allowed me to manyally enter IP, gateway, DNS, subnet), rebooted the DVR. Back up, I selected DHCP (now the fields to select IP, etc. disappeared). Rebooted. After a brief moment of loading the labels for IP, etc. populated with the values I listed above. – olli – 2013-12-12T02:24:54.030
By the way: I also have
PPPoE
as an option besidesSTATIC
andDHCP
. – olli – 2013-12-12T02:26:31.5071If you are going to use portforward with this, then static is the way to go anyway, as you don't want the IP to change. The IP should be whatever you want (outside of the range of the DHCP scope on the router), the DNS should be the router IP and the gateway should be the router IP. – Paul – 2013-12-12T22:38:16.580
Thanks for your response, Paul, I apologize for my delay in getting back with you:
(By the way all the combinations I've tried so far were without success :-/ ) – olli – 2014-02-07T12:15:39.943