NAT does not work if input and output port are different

NAT does not work if input and output port are different

NAT does not work if input and output port are different
NAT does not work if input and output port are different
a week ago - last edited Sunday
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
a week ago - last edited Sunday

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 Beta firmware got some NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
Recommended Solution
  2  
  2  
#5
Options
Re:NAT does not work if input and output port are different-Solution
a week ago - last edited Sunday

  @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
a week ago

  @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
a week ago

  @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
a week ago
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
a week ago - last edited Sunday

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 Beta firmware got some NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting Manual ★ ☚ (Disclaimer: Short links are used above solely for guidance to TP-Link subdomains and are safe and tracker-free. Exercise caution with short links from non-official members on forums. We are not liable for external content or damage from non-official members' link use.)
Recommended Solution
  2  
  2  
#5
Options
Re:NAT does not work if input and output port are different
a week ago

  @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
a week ago

  @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
a week ago - last edited Sunday

  @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
a week ago

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
Sunday

  @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

Information

Helpful: 0

Views: 163

Replies: 10

Tags

Related Articles