Problems forwarding ports and still having them closed

jpl90

Reputable
Mar 7, 2015
5
0
4,510
Hi there!

I have problems with my network, which is a little particular. Maybe someone can help me by giving me some ideas. I've already been reading some cases and trying some stuff but I have the feeling that the "particularities" of the network might be the problem here. I will try to explain it the best I can:

My parents live in a place, 4 km away from the city, where there is no internet service. The only way to get access was to configure a P2P connection with 2 Ubiquiti NanoBridge and one TP Link TL-WA5210G Outdoor AP in the same network. It's something like this:

Internet --- TP-Link TD-W8151N Modem/router --- Ubiquity NanoBridge ---(4 km)--- Ubiquity NanoBridge --- TP-Link Outdoor AP --- (around 500m) --- Home.

I have installed a DVR years ago, forwarded the corresponding ports in the modem/router and I got it working without major trouble.

Now I wanted to do something similar: access to a device with an internal IP from the Internet, and forwarding ports in this router doesn't work: with the open port checker tool it still appears to be closed (the DVR port doesn't).

I've already tried/tested the following options:

- The device I'm trying to install works perfectly: I've tested it in another (simpler) network and port forwarding worked perfectly, getting access from the Internet.
- The port I'm trying to forward is not reserved. I've even tried with many more, getting the same result.
- The device I'm trying to install is, of course, completely visible from the private network and works fine.
- Firewalls are disabled in every mentioned device.

Could you please help me? Do you have any ideas? Thank you very much in advance!
 

BuddhaSkoota

Admirable


Can you provide the details about the device? Make and model perhaps?
Where in the network is the device located? Is it wired or wireless?
 

jpl90

Reputable
Mar 7, 2015
5
0
4,510


Hi! Thank you for your answer! The modem/router is a TP-Link TD-W8151N. I've configured everything in the admin panel.

The device is located between Internet (wired) and the Ubiquiti NanoBridge (wired to the modem as well).

Thank you again!
 

BuddhaSkoota

Admirable


Just want to get everything straight:

- There is a DVR in this network for which ports are forwarded in the ZTE, and is accessible from the Internet.
- The device you are trying to add is connected directly by wire to the ZTE, and connection from the Internet is not successful. Accessing it from within the network is not a problem.

The Nano Bridge doesn't appear to be relevant to this problem, since the device is connected ahead of it. Hopefully I'm not missing something here, but if so, you may need to elaborate a bit.

You've stated that you tested it in a "simpler" network, but the configuration you are attempting could not be more basic (device attached directly to modem/router).

Online port testing tools are not very reliable unless there is a service running on the port, so it's possible the DVR port can be readily "seen" while the device's port appears closed.

The usual recommendations would apply here:
- double-check all port forward settings in the router.
- ensure you have properly set a static IP for the device outside the DHCP range.
- be sure you are using the proper IP and port when attempting to access the device.
 

jpl90

Reputable
Mar 7, 2015
5
0
4,510


Sorry, I mixed A LOOOT of stuff the last time I answered. For some reason I can't understand now I thought by "device" you meant the "router" (and I've doublechecked and it IS a TP-Link TD-W8151N router, not ZTE, I also mixed this. The original post was right). Sorry!! I'll explain it better now and I understood that by device you meant what I'm trying to connect.

Actually, I had not explained the DVR part as I consider it irrelevant.

The configuration, this time right, is:

Internet --- TP-Link TD-W8151N Modem/router --- Ubiquity NanoBridge ---(4 km)--- Ubiquity NanoBridge --- TP-Link Outdoor AP --- (around 500m) --- Home.

At "Home" I have a TP-Link 741 as a repeater which connects to the Outdoor AP and serves internet to the DVR (through Ethernet). That way I can see the cameras from the Internet.

The "device" I'm trying to connect is a Raspberry Pi B model with a WiFi adapter. I'm connecting the Pi wirelessly to the Outdoor AP.

The DHCP Server is configured to assign always the same fixed IP (let's say 192.168.1.150) to the Pi by Mac Address.


When I stated I connected the Pi to a simpler network I meant "Internet --- Modem/Router --- Raspberry Pi" and that time it did work (wirelessly as well, but another network, another router, and forwarding ports as it is supposed to be done).

------------------------------------------------------------------

So, answering your last questions:

- Yes, there is a DVR in this network for which ports are forwarded in the TP-Link Modem/router, and is accessible from the Internet.
- The device I am trying to add (a Raspberry Pi) is connected wirelessly to the Outdoor AP, and connection from the Internet is not successful. Accessing it from within the network is not a problem.

I have already tried the usual recommendations, also without success...

And, even if the tool didn't work, I should be able to access the device by [public IP]:[port forwarded], right? I guess it would try to listen, I don't get why the service would not be running.

One detail of the port forwarding configuration: The DVR ports are forwarded to the DMZ Server, and I'm trying to forward to the Raspberry Pi's IP directly, as I had done in the simpler network. Can that be relevant?


Thanks again BuddhaSkoota for your time and sorry again for my last post!
 

BuddhaSkoota

Admirable


With the DVR in the DMZ, ports do not need to be forwarded since the DMZ exposes all services to the Internet. So it only appears that specified ports are properly forwarded when in actuality all service ports are open to the Internet.

So it's possible that there is a problem with the router itself in forwarding ports. Does it have the latest firmware installed? You might try testing by forwarding a common service port (e.g. FTP, Telnet) to a PC at the same network point to find if standard services are working apart from those available to the DVR.
 

jpl90

Reputable
Mar 7, 2015
5
0
4,510


Thank you very much! I'll try it in a few days...
I think I checked if the firmware is the last one and didn't find anything, but I'll doublecheck that, as well...