cancel
Showing results for 
Search instead for 
Did you mean: 

Port forwarding doesn't seem to be working

hoaxy32
Hooked
Posts: 5
Thanks: 1
Registered: ‎11-04-2020

Re: Port forwarding doesn't seem to be working

You're definitely not alone; I've spent hours troubleshooting my router, and switch, trying to identify any configuration conflicts that might be causing this issue. However, deep down, I know that I haven't made any changes to configuration. Upon inspecting the logs, I noticed that no packets are reaching my WAN port that includes port number data. This observation strongly suggests that the issue lies with Plusnet.

Champnet
Aspiring Hero
Posts: 2,934
Thanks: 1,103
Fixes: 15
Registered: ‎25-07-2007

Re: Port forwarding doesn't seem to be working

worth checking.

Open port checker : Www.grc.com 

hoaxy32
Hooked
Posts: 5
Thanks: 1
Registered: ‎11-04-2020

Re: Port forwarding doesn't seem to be working

Unfortunately, that resource won't be of much help to us. Nonetheless, thank you for suggesting it. Is there a way we can directly contact Plusnet technical support to look deeper into this issue?

Dan_the_Van
Hero
Posts: 3,225
Thanks: 1,618
Fixes: 93
Registered: ‎25-06-2007

Re: Port forwarding doesn't seem to be working

I have not had any issues with port forwarding either TCP, UDP. some examples I've created in the past, the RDP one did work. 

example rules.png

RDP-3389 portforward.png

@golden_fibre 

I would suggest you try creating a rule to forward port 5000 external to 5000 internal so see if it works, if you are worried about exposing 5000 on the internet then create a map as I did for RDP.

I would always advise not to use common port for forwarding as these are often probed, where possible I use ports in the range  49152–65535

HTH

 

Champnet
Aspiring Hero
Posts: 2,934
Thanks: 1,103
Fixes: 15
Registered: ‎25-07-2007

Re: Port forwarding doesn't seem to be working

@golden_fibre  Have you enabled Plusnet's safeguard ?

Have you got any port forwarding working ?

golden_fibre
Dabbler
Posts: 13
Thanks: 4
Registered: ‎12-11-2023

Re: Port forwarding doesn't seem to be working

No I checked yesterday, Safeguard is off (and has always been off, never used it).

I've tried inputting a bunch of ports in the router's port forward settings and none of them work, the port checker tools all say they're simply closed.

Dan_the_Van
Hero
Posts: 3,225
Thanks: 1,618
Fixes: 93
Registered: ‎25-06-2007

Re: Port forwarding doesn't seem to be working

It is important to know if the device the port forwarding rule points to is off or or the application is not running then the port checker will not work, the checker confirms the connection to the device through the firewall, not the fact the port forward rule exists

Edit: Does the camera server have a cli?

golden_fibre
Dabbler
Posts: 13
Thanks: 4
Registered: ‎12-11-2023

Re: Port forwarding doesn't seem to be working

Everything is running, can access `[server_ip]:80` and `[server_ip]:5000` (and a bunch of other services) on my local network just fine.

Dan_the_Van
Hero
Posts: 3,225
Thanks: 1,618
Fixes: 93
Registered: ‎25-06-2007

Re: Port forwarding doesn't seem to be working

How is your home network setup, is it a flat LAN (192.168.1.0/24) or do you have a second router with its own address range? 

golden_fibre
Dabbler
Posts: 13
Thanks: 4
Registered: ‎12-11-2023

Re: Port forwarding doesn't seem to be working

Totally normal 192.168.1.0/24, one router.

Dan_the_Van
Hero
Posts: 3,225
Thanks: 1,618
Fixes: 93
Registered: ‎25-06-2007

Re: Port forwarding doesn't seem to be working

Port forwarding works for me and always has, using https://www.ipfingerprints.com/portscan.php I check 53389 and I see this result

PORT      STATE SERVICE
53389/tcp open unknown 

My Hub event log reports

10:36:53, 13 Nov. FWL Port Forward Server(IP-of windows PC) TCP 3389 accepted a new connection from 5.79.75.134
Does your event log have any entries like the above?
 
The event log will report incoming connection for a port forward rule even though there is no device active for the rule.
10:45:42, 13 Nov. FWL Port Forward Server(IP-of windows PC) TCP 60000 accepted a new connection from 5.79.75.134
but port checker reports.
PORT      STATE    SERVICE
60000/tcp closed unknown
 
So if you're not seeing the incoming connection when you test it the port forward rule is not working.
 
Champnet
Aspiring Hero
Posts: 2,934
Thanks: 1,103
Fixes: 15
Registered: ‎25-07-2007

Re: Port forwarding doesn't seem to be working

@golden_fibre  Could you temporarily open external port 80 to internal port 80 and point to your server, then ask someone away from your network to test it ? Bit of a pain but if you eliminate the obvious.....................

bobpullen
Community Gaffer
Community Gaffer
Posts: 16,935
Thanks: 5,026
Fixes: 317
Registered: ‎04-04-2007

Re: Port forwarding doesn't seem to be working

What machine is the reverse proxy configured on? If it's Windows, then is the network connection configured as private rather than public and all the necessary sharing/discovery settings enabled etc?

Are there any clues in the NGINX logging?

Agree that removing the reverse proxy from the equation would be helpful in temporarily eliminating a point of failure.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

golden_fibre
Dabbler
Posts: 13
Thanks: 4
Registered: ‎12-11-2023

Re: Port forwarding doesn't seem to be working

It's an Ubuntu machine. Tried with `ufw` off and on (allowing 80/443), nothing got through.

The nginx logs only log something when requesting `[server_ip]:80` on my network, not going to the `[public_ip]:80`.

Running `tcpdump` on the server also logs when coming from `[server_ip]:80` but not `[public_ip]:80`.

Been trying out https://www.ipfingerprints.com/portscan.php which says "filtered", and when using that website to test the Event Logs on the router do say something like:

"FWL Port Forward Server([my server ip]) TCP 80 accepted a new connection from [ipfingerprints public ip]"

So it's getting dropped somewhere. I'll have to try port forwarding to some other machine to test.

golden_fibre
Dabbler
Posts: 13
Thanks: 4
Registered: ‎12-11-2023

Re: Port forwarding doesn't seem to be working

Oh man, it worked, port forwarded to a different device and could access it.

Which means something is blocking the request on my server, even with ufw off, with or without nginx reverse proxy (also tried lighhttp), while still working fine on my local network, but now that's for me to find out.

Anyway thanks for all your help! And if anyone else ends up on this thread with similar problems, just try forwarding to a different IP and see if that works.