Port Forwarding Not Working After Messing with IP

wrhagen93

Prominent
Apr 19, 2017
18
0
510
Hey all,

I'm having quite the issue getting my Minecraft port forwarded on TCP and UDP. Used to work fine, then I unset my IP from being static and haven't gotten things back to working since then, even after re-setting the static IP. I'll try to give you a breakdown of my situation:
1) Windows Firewall has been turned OFF
2) DMZ has been DISABLED
3) Added the rule to allow TCP and UDP for port 25565
4) IP on router is STATIC
5) IP on server-running device is STATIC (although, on ethernet, not the same as the router's static IP)
6) I have tried running the app while checking the port to no success
7) I have not tried a hard, physical reset of the router since the port forwarding broke

Let me know if I'm missing anything or should provide any more info - thanks!
 
Solution
Carnaxus is correct. 10.10.10.300 is an invalid IP addresss.

According to your latest imgur picture you now have four devices on your network with dynamically assigned IPs:

10.10.10.100
10.10.10.101
10.10.10.102
10.10.10.103.

Your router (10.10.10.254) is also configured to provide a very large pool of IP addresses for dynamic assignment; 10.10.10.100 through and including 10.10.10.200.

First let's reduce the size of the pool by changing the End IP address to 10.10.10.110 (not technically necessary but helps to keep track of things).

Then go down to "Statically Assigned MAC" and enter the MAC (Physical Description from ipconfig) for your desktop. In the following block, IP: enter 10.10.10.111

That IP is outside of the range of...
Doublecheck your static IP assignment.

On the router be sure that the desired static IP is outside of the router's DHCP address range.

And that the desired static IP is reserved for your computer using the computer's MAC.

On your computer go into the network adapter settings and be sure that the computer is configured to use the static IP using the router's gateway IP address and subnet mask.

Run "ipconfig /all" without quotes from your computer's command prompt. That should tell you what the computer's expectations are. Should match the router.
 
Thanks for answering Ralston. I could use a little clarification on these, please bear with me as I'm new to network lingo:


How do I check the DHCP range? Should that be somewhere in the router UI?


Not sure at all what you mean here, so this is probably an important point. I THINK what you mean is that I should go to the Devices page in my router UI and make sure that my desktop is using the static IP my router has set up, but could be wrong.
**EDIT -- I checked that page and my desktop is currently being assigned a generic 10.10.10.x IP....is that my issue?


I tried this and got DC'd on close. Could be because I haven't correctly assigned the IP to the device as you specified above, though.

Thanks again for your help :)

 
Before I answer those, take a look at my first response - I edited with potentially important information.

1) Securifi Almond, Software Version AL2-R089

2) Not sure if that kind of info is safe to post on a forum xD Any specific sections you want? WAN, Ethernet, LAN, etc...
 
From these sources:

http://m.setuprouter.com/router/securifi/almond/login.htm

http://www.cleancss.com/router-default/Securifi/Almond

Defaults:

Router IP is 10.10.10.254
User name is admin
Password is admin

If you truly reset the router to factory settings then typing 10.10.10.254 into your browser should access the router's initial admin pages.

ipconfig /all is safe to post although there have been discussions going both ways. You can blank out the MAC (Physical address) and Host Name if you wish.

Home networks use one of three IP address ranges referered to as "private". Private meaning that those address ranges are reserved for use within homes and small business use versus "public". The naming is unfortunate. Millions of locations use those private address ranges. What keeps each network separate is the public IP assigned to you via your ISP. That address should not be posted.

Here is a link to the Quick Setup Guide. Chapter 3, "Connecting Your Almond as a Router" is the important chapter.

You should read the preceding chapters just to familarize yourself with the router if and as necessary.

Look at the configuration settings for the wired ethernet adapter that is enabled on your computer.

May read as "Ethernet adapter xxxxx:" where the x's are your network's name.,

Does the IP address fall into the 10.10.10.254 range? Subnet mask should be 255.255.255.0.

Default Gateway and DHCP Server should match the router.: I.e., 10.10.10.254

If not, then you need to Open the Network and Sharing Center, select your Ethernet adapter, and use "Change adapter settings" to select and change "Internet Protocol Version 4 (TCP/IPv4) Properties to "Use the following IP address".

Entering the configuration values that are needed.

At this time I believe them to be:

IP address could be set 10.10.10.x per your edit.
Subnet mask is 255.255.255.0
Default Gateway is 10.10.10.254

I am not familar with the Almond per se. However, by looking at the various screenshots I was able to identify the necessary screens you need to use.

http://setuprouter.com/router/securifi/almond/screenshots.htm

You will need to find the screen where you can adjust the range of avialable DCHP addresses.

Plus the screen necessary to establish the desired IP (10.10.10.x) as static by using the computer's (actually the ethernet adapter's) Physical Address (aka MAC).

Then you use the port forwarding screen "Forwarding" to tell the router that Minecraft data is to go to IP 10.10.10.x via Port 25565.

Spend a few minutes to sort of plan it all out and do a "walkthrough" See if everything starts falling into place.
 
So, I took some steps based on your response to no avail, but I want to check with you to make sure I did what you were suggesting

1) Went to the 'Network' page on my router, which displays:
- The IP address assigned to my desktop as a DHCP client
- The amount of time until the IP address expires as a DHCP client
- DHCP type is Server
- My range of IP values, which the IP address for my desktop falls into
- DNS Servers, Subnet Mask, Default Gateway

2) Did NOT make changes

3) Went to my IPv4 properties for my ethernet connection
- Changed the IP address to what I found in (1) for my desktop
- Changed the Subnet Mask, Default Gateway, Pref and Alt DNS Server values to those found in (1)

4) Set all that in, and desktop didn't reject any of the values - good sign

5) Went back to the router UI and set a port forward, TCP+UDP, for ports 25565-25565, on the IP found in (1) and used in (3)

6) I used a port checker to check port 25565 on the IP used in (5), but the port was closed 🙁
 
First thought is to make sure that a firewall is not blocking the port. Router, Windows.....?

Second thought is to suggest is a double check of the current port forwarding configuration - can be easy to overlook "applying" or "okaying" the settings. Could be some additional requirement necessary buried elsewhere in the router's screens.

However, just to make sure I understand correctly: your computer is back to "normal" with respect to your network and internet?

And the IP assigned to your computer is static. As I read your post you let the router assign a DHCP IP address to the computer and then used that same IP as the desired static IP.

And everything is now working with the exception of the port remaining closed.



 
Attaching the following images, let me know if you see anything out of place:

1) List of DHCP clients. My desktop, Rebirth is listed twice - the boxed row is for ethernet
http://imgur.com/IZ1pjnB
2) Settings for a new DHCP client
http://imgur.com/Z2pcagg
3) Static properties. Noticed that the Default Gateway and both DNS Server addresses are DIFFERENT than the new DHCP client settings
http://imgur.com/a/xsDN2
4) IPv4 properties for ethernet. I made them the same as found in (2), but NOT as found in (3)
http://imgur.com/a/Io149
5) Port Forward settings.
http://imgur.com/a/UFd4I
Also noticed that I have the option to create a virtual server, and this manual on Portforward.com made specifically for my router suggests using a VServer over the port forward config: https://portforward.com/securifi/almond/
 
Quick note, you said you set the open port range to 25565-25565. That means you opened port 25565 and nothing else. Is your server set to use that port? Minecraft, at least when you use Open to LAN, tends to use a port in the 50000-70000 range.
 
Take a close look at "Rebirth".

What can happen is a device can be assigned an IP address (via DHCP) that can conflict with an existing static assigned IP address.

The dynamic IP assignment is made and then the device with the static IP comes online and creates a conflict.

Verify that you have reserved the desired IP address (either 10.10.10.101 or 10.10.10.104) via "Rebirth's MAC. And that that reserved static IP address is outside of the available DHCP IP address range.

Then verify that incoming requests to use the port are correctly directed to either .101 or .104.

 


Yessir! When I start up the server, the console specifically mentions starting on port 25565. That's good to know, though!
 


Looking at picture (2), am I right in saying that "Start IP Address" and "End IP Address" define the DHCP IP range you mentioned?
 
Yes. That is how I understand the picture (2).

The router is being allowed to assign DHCP IP addresses between and including 10.10.10.100 an 10.10.10.200.

At the bottom of that screen (Statically assigned MAC) I would expect to see either 10.10.10.101 or 10.10.10.104 reserved for your Minecraft computer via its' MAC.

Depending, of course, on which IP (.101 or .1o4) you wish to assign to your Minecraft computer.

Check the router's User Guide/Manual to determine if you can, indeed, reserve a "static" IP within the allocated DHCP IP address range.

Overall, I would stay out of that range and simply assign another IP as a static IP for the the Minecraft computer via its MAC.

 


So, to be clear, you are suggesting that I:
1) Use the bottom of the screen in (2) to assign my desktop a static IP outside the DHCP range (100-200) using its ethernet MAC address while leaving things like Subnet Mask, Default Gateway and DNS Servers as their defaults
2) Transfer whatever values used above to the IPv4 properties on my ethernet adapter
3) Try port forwarding 25565 using the IP arbitrarily chosen in (1)

Is that correct?
 
Yes.

Run "ipconfig /all" from the command prompt on your desktop. The Desktop's MAC is the Physical Address associated with the enabled Ethernet adapter on the desktop.

You configure the network adapter via "Use the following IP address:"

Do it in two steps.

1) Assign a static IP and ensure that the desktop retains both network and internet access.

2) then go to the router and forwards requests to Port 25565 to the static IP you assigned to your desktop.
 


Fell at the first hurdle. First thing, I tried to assign it the IP 10.10.10.300 and got a format error. So I switched it to something along the 98.163.xx.xx lines and that seemed to work. Doing so removed both Rebirth rows from the existing DHCP clients list. However, when I tried to change my IPv4 config to match the IP address with all else equal (which I assumed I needed to do), I first got a warning that the default gateway was not the same format (I had left it as 10.10.10.254), then my ethernet failed to connect when I closed the properties. Changing the IP BACK to 10.10.10.104 got my internet back, but not sure where to go from here. Is updating my ethernet properties necessary?
 


Picture of the DHCP/Static IPs since I tried the last things: http://imgur.com/a/CfCvp
 
The reason 10.10.10.300 failed is because IP address octets can't go above 255. The highest you can go would be 10.10.10.255, the lowest 10.10.10.1.

Also, changing your computer's IP to something other than 10.10.10.XXX changed which IP group it was in, and having your devices in different IP groups screws things up.
 
Carnaxus is correct. 10.10.10.300 is an invalid IP addresss.

According to your latest imgur picture you now have four devices on your network with dynamically assigned IPs:

10.10.10.100
10.10.10.101
10.10.10.102
10.10.10.103.

Your router (10.10.10.254) is also configured to provide a very large pool of IP addresses for dynamic assignment; 10.10.10.100 through and including 10.10.10.200.

First let's reduce the size of the pool by changing the End IP address to 10.10.10.110 (not technically necessary but helps to keep track of things).

Then go down to "Statically Assigned MAC" and enter the MAC (Physical Description from ipconfig) for your desktop. In the following block, IP: enter 10.10.10.111

That IP is outside of the range of Dynamic IP addresses (10.10.10.100 - 10.10.10.110) that the router is permitted to assign. Keeping the static IP addresses outside of the dynamic range prevents a possible IP address duplication. I.e., a given DHCP address is issued while a device with that same static IP is offline.

On your desktop go into the network adapter configuration screens and the IPv4 Properties window.

Select ---> Use the following IP address, Enter 10.10.10.111 for the IP, 255.255.255.0 for the subnet mask, and 10.10.10.254 for the Default Gateway.

Now the router knows that the Desktop is going to be IP 10.10.10.111 and the Desktop knows that it will be using IP 10.10.10.111 and communicating with the router at 10.10.10.254 for network and internet purposes.

The last step will be the port forwarding part. When you configure the router with respect to traffic for port 25565 the router will look at the table and see that traffic for Port 25565 is to go to IP address 10.10.10.111 which is the desktop (and always should be) as IP 10.10.10.111 is reserved for the desktop via the MAC.

 
Solution


Interesting! Didn't know about IP groups or the limit on the octet, and definitely good to know that having a mix of groups among devices can mess things up. Thanks for those!
 


Alright, I'll try that after work. Thanks for breaking it down to simple steps for me, messing with my router this much makes me more nervous than I'd like to admit. :)

Another question in the meantime. Can I set a device to have a static IP and port forward, even with my router set to DHCP rather than static? Or does my router need to be static in order to enforce a MAC-assigned static address?
 


Nailed it. Port is forwarded. You, sir, are a gentleman and a scholar. Unless you're female, in which case you are a lady and a scholar
 
Good job! I believe you have figured out and answered your own question.....

The router is a router. Its purpose is to manage communications within a network and out of the network - i.e., the internet as applicable.

As such the router is a central device and must have its own IP address so other network devices can find it.

All makes and models of routers are pre-configured to some preset IP address within one of three IP address ranges. Those ranges are the "Private IP" addresses.

Anyway, you are very welcome.

FYI: I am on the "gentleman" side but will openly and readily acknowledge, with much gratitude, what I have learned from the "lady and a scholar" side. 🙂