NAT does not work if input and output port are different

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

NAT does not work if input and output port are different

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
NAT does not work if input and output port are different
NAT does not work if input and output port are different
2024-04-24 10:06:14 - last edited 2024-04-28 01:12:30
Tags: #NAT

Hi there

 

I setup a Minecraft server  on the standard port 25565 using NAT, that works fine.

After seeing some intruders I changed the input port to 20000.

But the friends, which could connect on port 25565 before, could not join Minecraft anymore.

 

All I changed was the input port number!

 

Does NAT work only when the ports are the same?

What can I do, to fix the problem?

 

Thank's for any help!

 

Mutzli

 

 

  0      
  0      
#1
Options
2 Accepted Solutions
Re:NAT does not work if input and output port are different-Solution
2024-04-25 01:04:06 - last edited 2024-04-28 01:12:35

Hi @Mutzli 

Thanks for posting in our business forum.

It does not have to be the same on external and internal. Internal port can be the desired 25565. For the external, you can do a different one but your friends has to change the port to the new one you've changed. Or they cannot join.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  2  
  2  
#5
Options
Re:NAT does not work if input and output port are different-Solution
2024-04-25 13:20:11 - last edited 2024-04-28 01:12:30

  @Mutzli 

 

also, potentially stupid point but...

 

When using non-standard ports, launch the client, go to multiplayer, go to "Add Server", put the name in, but when you put the address, put "<ip address>:<port>"

<< Paying it forward, one juicy problem at a time... >>
Recommended Solution
  1  
  1  
#8
Options
9 Reply
Re:NAT does not work if input and output port are different
2024-04-24 12:01:46

  @Mutzli 

 

Did you reboot/power cycle the router after the port change?

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#2
Options
Re:NAT does not work if input and output port are different
2024-04-24 19:42:48

  @d0ugmac1 

Yes, I restarted/rebooted it several times.

 

Now I have both NAT in parallel, one with both ports on 25565 and the other on 20000/25565.

The one with 25565/25565 is in use and also works fine.

The other with 20000/25565 is frequently tested, but all attemps to connect failed so far.

 

Mutzli

  0  
  0  
#3
Options
Re:NAT does not work if input and output port are different
2024-04-24 19:45:38
you can't do a Y connection with the TPlink router. If you delete the 25565/25565 port forward and reboot, the 20000/25565 will start working.
<< Paying it forward, one juicy problem at a time... >>
  1  
  1  
#4
Options
Re:NAT does not work if input and output port are different-Solution
2024-04-25 01:04:06 - last edited 2024-04-28 01:12:35

Hi @Mutzli 

Thanks for posting in our business forum.

It does not have to be the same on external and internal. Internal port can be the desired 25565. For the external, you can do a different one but your friends has to change the port to the new one you've changed. Or they cannot join.

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
Recommended Solution
  2  
  2  
#5
Options
Re:NAT does not work if input and output port are different
2024-04-25 12:27:36

  @Clive_A 

 

We have tried on 20000 first, didn't work.

Back on 25565 it worked again (of course with reboot first...).

 

Mutzli

  0  
  0  
#6
Options
Re:NAT does not work if input and output port are different
2024-04-25 13:15:06

  @Mutzli 

 

Post a screen grab of your Port Forwarding rules.

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#7
Options
Re:NAT does not work if input and output port are different-Solution
2024-04-25 13:20:11 - last edited 2024-04-28 01:12:30

  @Mutzli 

 

also, potentially stupid point but...

 

When using non-standard ports, launch the client, go to multiplayer, go to "Add Server", put the name in, but when you put the address, put "<ip address>:<port>"

<< Paying it forward, one juicy problem at a time... >>
Recommended Solution
  1  
  1  
#8
Options
Re:NAT does not work if input and output port are different
2024-04-25 19:17:46

Hey Mutzli,

Your friends might need to update their connection settings to use the new port (20000). NAT should still work, but they'll need to adjust Lotus365 and their settings to match. Hope that helps.

  1  
  1  
#9
Options
Re:NAT does not work if input and output port are different
2024-04-28 06:46:52

  @d0ugmac1 

 

Im on holidy now, please wait about 2 weeks.

But I'm pretty shure all is setup correct. Other NAT (1:1) are perfectly working.

 

Mutzli

  0  
  0  
#10
Options