Menu
Reply
devbrodie
  • 9
  • 0
  • 0
Joining in
251 Views
Message 1 of 21
Flag for a moderator

Port Forwarding page broken

I have 2 servers in my network which I expose to the internet via port forwarding.

One of these devices used to have the internal IP of 192.168.0.6, but I have recently changed it's IP address to 192.168.0.5.

Today I opened the port forwarding page on the router and deleted the old rule and tried to create a new rule for the new IP address.

When entering the IP address, the router's script logic tells me that 192.168.0.5 is not a valid IP address!

As such, I cannot add the new rule which means my service is no longer visible to the Internet.

I tried speaking with VM tech support, but the people I dealt with obviously don't have a clue about port forwarding because they kept telling me that my routers IP address is 192.168.0.1 - yeah, they were that good!

Screenshot 2023-02-24 143644.png

Tags (1)
0 Kudos
Reply
Client62
  • 1.74K
  • 109
  • 399
Super solver
238 Views
Message 2 of 21
Flag for a moderator

Re: Port Forwarding page broken

Does the Hub expect the 192.168.0.5 IP to be on the DHCP reserved list before it will accept the port forward.

0 Kudos
Reply
devbrodie
  • 9
  • 0
  • 0
Joining in
233 Views
Message 3 of 21
Flag for a moderator

Re: Port Forwarding page broken

no - I dont use DHCP on the router anyway - never have, I use my pi-hole for DHCP

0 Kudos
Reply
Tudor
  • 13.83K
  • 1.07K
  • 2.8K
Very Insightful Person
Very Insightful Person
213 Views
Message 4 of 21
Flag for a moderator

Re: Port Forwarding page broken

Your picture does not contain any port numbers, perhaps that’s the problem and it’s an error in the message given.


Tudor
There are 10 types of people: those who understand binary and those who don't and F people out of 10 who do not understand hexadecimal c1a2a285948293859940d9a49385a2
0 Kudos
Reply
devbrodie
  • 9
  • 0
  • 0
Joining in
208 Views
Message 5 of 21
Flag for a moderator

Re: Port Forwarding page broken

yeah - I know it doesnt - that's not the problem. It's the fact that the page thinks that 192.168.0.5 isn't a valid IP.

The screen shot was just to show the error

trust me, I've used this for years. I know how port forwarding is supposed to work. If the stupid page wasn't using JavaScript to detect for a valid IP, then it wouldn't block you from going any further

0 Kudos
Reply
gitty
  • 257
  • 4
  • 67
Superfast
197 Views
Message 6 of 21
Flag for a moderator

Re: Port Forwarding page broken

Try forwarding to an ip inside the DHCP range (even though the DHCP server is not enabled). It sounds stupid, but some firmwares are stupid. 🙂
0 Kudos
Reply
devbrodie
  • 9
  • 0
  • 0
Joining in
191 Views
Message 7 of 21
Flag for a moderator

Re: Port Forwarding page broken

192.168.0.5 is in the range. I have 50+ device in my network. My DHCP leases starts at 192.168.0.2 and ends at 250. I reserve IPs between 0.2 and 200 - Anything outside that range is a device which I dont "control" - i.e. a guest mobile/tablet etc.

Its not the IP address that's wrong - its the VM router web page - there's obviously been an update and that has included a javascript file which is trying to validate the entered IP and getting it wrong.

If VM weren't so flipping controlling with their router this wouldn't be an issue

 

 

0 Kudos
Reply
gitty
  • 257
  • 4
  • 67
Superfast
187 Views
Message 8 of 21
Flag for a moderator

Re: Port Forwarding page broken

If the bug is only in the javascript, you could fiddle around with it a little (using the browser's web developer).

The DHCP scope is a thing in other firmwares. The RDK-B firmware will not forward to an ip outside of it, but not the issue here, I see.
0 Kudos
Reply
devbrodie
  • 9
  • 0
  • 0
Joining in
178 Views
Message 9 of 21
Flag for a moderator

Re: Port Forwarding page broken

It makes no difference what IP I enter - it says that are all wrong...

devbrodie_0-1677256284010.pngdevbrodie_1-1677256299377.pngdevbrodie_2-1677256312182.png

devbrodie_3-1677256871781.png

devbrodie_4-1677256886684.png

 

 

0 Kudos
Reply
devbrodie
  • 9
  • 0
  • 0
Joining in
174 Views
Message 10 of 21
Flag for a moderator

Re: Port Forwarding page broken

I've been trying that for most of the day - I'm not a programmer, so I can find the variable in the HTML which it looks at, but then can't find that in the JavaScript file - There's 6 or 7 js files - I think the correct one is the "base.js" file, but can't find where it does the validation.

0 Kudos
Reply