×  Introducing Nighthawk RS700 WiFi 7 (BE) Router. For more details, please visit Nighthawk Tri-Band WiFi 7 Router.
Reply

Re: RBR50 Port forwarding not working

dismay
Aspirant

RBR50 Port forwarding not working

Hi,

 

I'm trying to set up an minecraft server for me and my friends at school and i need to port forward port number 25565, but it doesnt work. My router from ISP is in bridge mode, im not using DDNS, i have IPv6 disabled but still it shows that port 25565 is closed.

I also found something weird it shows that port 443 for HTTPS is also closed which is not possible because i can still use internet.

I tried connecting to my minecraft server using my external IP but it didnt work since port 25565 is closed.

I attached photo of settings of port forwarding.

 

Thank you.

 

Model: RBR50|Orbi AC3000 Tri-band WiFi Router
Message 1 of 16
CrimpOn
Guru

Re: RBR50 Port forwarding not working


@dismay wrote:

I'm trying to set up an minecraft server for me and my friends at school and i need to port forward port number 25565, but it doesnt work. My router from ISP is in bridge mode, im not using DDNS, i have IPv6 disabled but still it shows that port 25565 is closed.

I also found something weird it shows that port 443 for HTTPS is also closed which is not possible because i can still use internet.

I tried connecting to my minecraft server using my external IP but it didnt work since port 25565 is closed.


These are separate issues.  Port forwarding refers only to allowing a connection from the internet to a device on the LAN.  In the other direction (going to the internet) all ports are open.  From within the LAN, a device can connect to any port (21 for FTP, 53 for DNS, 80 for http, 443 for https, and so on.....  All ports are open going out.

 

What do web sites such as Gibson Research Shields Up! say about your ports?

https://www.grc.com/shieldsup 

You will have to enter port 25565 specifically as it is not one of the commonly scanned ports.

 

Does Shields up and other web sites (such as https://www.whatismyip.com/ ) report the Orbi public IP to be the same as the Orbi web interface, Advanced Tab, Internet box?  (This is a check that the ISP device is actually in "modem mode".)

 

Port Forwarding accepts packets and sends them to a device on the local LAN.  If that device does not accept the connection, then it will appear that the port is closed.  (i.e. the router does not make any response at all. That is up to the device on the LAN.)  On my Windows computers, the Windows Firewall has separate settings for Private and Public networks. This allows me to open an FTP server for my local security cameras, but prevent connection from any IP that is not on my LAN.)

 

 

I love my Orbi.
Message 2 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

My public IP from whatismyip.com matches the one in on the orbi admin panel, tried looking up 25565 port on https://www.grc.com/shieldsup but it shows that it is closed. And i have port 25565 open on my computer.

 

Thank you.

 

 

Message 3 of 16
CrimpOn
Guru

Re: RBR50 Port forwarding not working

An interesting dilemma.  When I probe my computer, Shields Up! reports that the port is "Stealth".

stealth.JPG

Gibson says that Stealth means the connection attempt was ignored.  Closed means that the computer refused the connection.

https://www.grc.com/su/portstatusinfo.htm 

 

This indicates to me that the router passed the connection attempt to the computer and the computer refused the connection.

i.e. time to focus on the computer rather  than the router.

I love my Orbi.
Message 4 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

Interesting, i'm currently using an macbook and i have the firewall disabled and all incoming connections should be allowed.

Its in polish, but it says that it is turned off.

Message 5 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

I also tried on my windows computer, i didnt want to make these rules for firewall so i disabled the firewall and the port is still closed, also i updated the rule on orbi to my pc IP.

Message 6 of 16
CrimpOn
Guru

Re: RBR50 Port forwarding not working

(I am running out of ideas.....)

 

The port being reported "Closed" rather than "Stealth" would seem to indicate that the connection got passed through the router to the computer on the LAN and then rather than simply disappearing, was reported "Closed".

 

Thoughts:

  • Is the MInecraft server actually listening on port 25565?
    On Windows, I use a tool called TCPView by Sysinternals
    https://docs.microsoft.com/en-us/sysinternals/downloads/tcpview 
    This program displays every process on the computer that is active on TCP or UDP and what state it is in.
    (Be prepared for a shock when you see how much is "going on" in the background.)
    If the Minecraft Server is actively listening for connections, there should be a process listening on port 25565.
    There may be a similar tool for MacOS.
  • Is there something special about a Minecraft connection? Does the connection packet have to include some parmeter or value?
    (I'm sure there is probably a login of some type, but that comes after a connection is established.)
  • Can the connection be captured? On Windows, I use Wireshark to capture every packet that flows through the ethernet adapter.  I would expect to see that connection attempt on port 25565.  (There is also Wireshark for MacOS if you are more comfortable with that platform.)
  • What about capturing using the router?  On the debug page, Orbi has an option to Enable LAN/WAN Packet Capture.  After starting the capture, try the connection attempt (or use Gibson), then Save the debug file.  It produces a zip file and inside there are two pcap files: lan.pcap and wan.pcap.  I use Wireshark to open them.  On the LAN capture, there should be a packet from the internet directed to the Minecraft Server as well as a packet from the Minecraft server closing the connection.

If packets get to the Minecraft server computer, then I think it is not the router.

 

Articles on the web seem to indicate that setting up a Minecraft server is "so easy."  Doesn't look so easy to me.

I love my Orbi.
Message 7 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

Didnt want to wake up the family by turning the PC on and checking does the minecraft server works, i will try tomorrow. But i found this in logs tab in orbi admin panel. When i look if the port is closed or not this shows up in logs.

 

[LAN access from remote] from 198.199.98.246:34723 to 192.168.1.6:25565, Wednesday, February 09, 2022 00:05:351

 

 

Message 8 of 16
CrimpOn
Guru

Re: RBR50 Port forwarding not working

Cool.  I did not think to look in the logs.  Looks like the router is forwarding packets correctly and the issue is with the server.

(You have saved me more investigation.  My next step was to Forward a port to my PC, start up packet capture, then attempt to connect and "see what happens".

 

 

I love my Orbi.
Message 9 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

. IT FINALLY WORKED

 

dont know how because didnt make any changes to the router just installed wireshark on my mac, but its working. Thank you very much, i have been struggling with this for so long. also sorry for my bad english but im 12 years old and hope that doesnt bodder you. i run and succesfully joined the server on my macbook at 10fps by using my public IP so my friend will be able to also join. wireshark shows that the port is forwarded from 25565 to my local port or somethink. thank you so much again. but the port checker is showing that the port 25565 is "OPEN!" in red so i dont think its good, but for now its working.

 

Thank you again,

Have a nice day.

Message 10 of 16
CrimpOn
Guru

Re: RBR50 Port forwarding not working

Congratulations!  We have people on the forum claiming to be "IT Techs" who could not do nearly as well as you have.

 

Open (in Red) is meant to be a warning.  Within minutes of a port being forwarded through the router, bots will discover it and begin to probe.  I usually test forwarding issues by forwarding port 80 to my Pi-hole server. Within less than five minutes there will be connections from all over the internet.  (Once I have accomplished the task, I remove the forward.)

 

So, people will recognize that port 25565 is a Minecraft server and will begin to attempt to break into it.  The Orbi log file will fill up with connections. With thousands of people hosting Minecraft, I would expect that it is more "secure" than many servers.  For example, plain FTP sends the user name and password across the internet in plain text.  And, a lot of people set up servers with really stupid user names and passwords. 

 

Open is like saying, "The side door to your house is open." As long as there is a huge guard dog just inside and there is nothing to steal or break in that part of the house, one might say, "so what?"

 

Good Luck

I love my Orbi.
Message 11 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

Ok, thank you again.
As you said the logs are filling up. I’m not sure to be worried about the port being in red, do you know how to make it green? I’m also seeing and [DoS Attack] in logs not sure is it the same thing as ddos. But definitely not wanting to be ddosed.

Thank you
Message 12 of 16
CrimpOn
Guru

Re: RBR50 Port forwarding not working

Web sites like Shields Up! will report any open port as a potential danger. 

They prefer "stealth".

 

Imagine you go by a house and find:

  • There is a door, and it is wide open. You can walk in.  That merits RED.
  • There is a door, but you can't open it. That rates BLUE because maybe if you tried hard enough  you could break in.
  • You can't tell if there is a door or not.  Maybe one is hidden somehow. Or maybe there is no door at all.  This gets GREEN How do I break in if I cannot find a door?

In order by security, Green is more secure than Blue, and Blue is more secure than Red.

 

I love my Orbi.
Message 13 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

Hey im back,

 

Thank you for the explanation but i already read on the gibson page what does the colors mean, but i have few more questions.

How do i make an stealth port do i need to make some changes on the router or on client side. And i noticed that the port is open on mac, but not on windows. This means that i need to make some changes to the windows computer.

 

Now i will try those methods that you said before

Thank you

Message 14 of 16
dismay
Aspirant

Re: RBR50 Port forwarding not working

EDIT: Did make some changes to the firewall on windows now it is working the port status on gibson is open.

Minecraft Server works, thank you. Only thing left is how do i make an stealth port?

 

Thank you

Message 15 of 16
CrimpOn
Guru

Re: RBR50 Port forwarding not working


@dismay wrote:

EDIT: Did make some changes to the firewall on windows now it is working the port status on gibson is open.

Minecraft Server works, thank you. Only thing left is how do i make an stealth port?


The default firewall rule is to ignore connections attempts. That is what Gibson reports as "stealth" (because the connection attempt simply "dies"). But a stealth port means that no one can connect to it.

 

In order for someone on the internet to access the Minecraft server, the port must be "open".  By definition, an open port is vulnerable to attack.  It's just part of offering a service on the internet.

I love my Orbi.
Message 16 of 16
Top Contributors
Discussion stats
  • 15 replies
  • 1324 views
  • 3 kudos
  • 2 in conversation
Announcements

Orbi WiFi 6E