Application / Device setup for remote network connections

Super User Asked by olli on November 26, 2020

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: however my router has assigned for this device!

subnet mask seems to be in accordance with what my router says.

But gateway: 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, 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?

One Answer

Don't use splitter, that won't work. For splitting ethernet cable you need active device called Switch.

Static IP

If your router has, then you may set these:

IP address: (choose address for your DVR, forwarded one)
Gateway: (router address)

I would recommend to set DHCP pool manually, that way you avoid possible IP collision.

In your routers config, choose Settings -> Lan -> DHCP and select Configure manually

Router Address: (router address)
Subnet Mask: 
First DHCP Address:   (choose range excluding DVR's IP address)
Last DHCP Address:

Answered by week on November 26, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP