Share

Share

Welcome to the BukkitWiki!

This Wiki is home to Bukkit's documentation and regulations surrounding the Bukkit Project and it's services. Want to help out? We would love to have you! Signup to get started!

Port forwarding

From BukkitWiki
Jump to: navigation, search
Icon-remove.png
This page has been marked for deletion.

This page has been marked for deletion by mbaxter. For more information, see Category:Pages for deletion.
If you feel that this page should not be deleted, please discuss the article's status on its Talk page.
Reason for deletion: Needs cleanup or should just be covered offsite

This guide will take you through the steps to set up port forwarding on your router to run a CraftBukkit server from a home connection.

Before we start[edit]

  1. Determine your router model (Your router model number will likely be on a sticker on the router).
  2. Check if you have admin access to your router (If you don't know the username/password there may be a sticker on your router which has the username & password. If it doesn't go to http://portforwarding.com and look up your router model there.)
  3. There are port forwarding softwares out there. Examples include SimplePortForwarding or ImminentFate's PortMapper software

Finding your internal IP address[edit]

Windows[edit]

Open Command Prompt. You can find this in your Start menu, or you can open it via Run (There, run cmd).

Type ipconfig and press enter. Look for the connection named "Ethernet adapter Local Area Connection" or "Wireless LAN adapter Wireless Network Connection". In there, the value named IPv4 Address is your internal IP for that connection. Write that down for the next steps.

OS X[edit]

Open Terminal. Type ifconfig and press enter. The value next to inet under en1 is your internal IP address.

Forwarding to your internal IP[edit]

Lightbulb.png Note: It is easier using a static (non-changing) internal IP to port forward than a dynamic internal IP. Generally your network setup will default to a dynamic internal IP, which can change any time you restart your computer. You can find tutorials for all operating systems for setting a static internal IP.
  1. Type the Default Gateway IP address into the address bar on your favorite browser and log into your router using the username and password you found earlier.
  2. Look for Tabs which have either "ToolBox" , "Port Forwarding" , "Game sharing" , "NAT" , "UPnP". If you see none of these options, look online for tutorials for portforwarding with your router. Before continuing, make sure you're on a page that lets you input ports and IP addresses.
  3. Now its time to assign the port for your server. If it asks for a name, you can make up whatever name you like (Such as "minecraft"). If there is a protocol option, set it to TCP/UDP (both) or TCP. If you have used the default port, set the port to 25565 (or port range to 25565-25565), otherwise replace 25565 with your port choice. Set the IP to which you are forwarding as the internap IP we determined earlier.
  4. Submit the form and we're done!

Did I port forward correctly?[edit]

First off you must test if your ports have actually forwarded properly to do this either go to CanYouSeeMe. In the IP bar it should display your external IP address. Change the port to check 25565 and submit. If it says "Open" you're all set! Share that external IP address with your friends!

If you receive a different message, check your firewalls. Ensure that Java, Minecraft, and port 25565 are not blocked.

Need more help?[edit]

Create a post in the Bukkit Help forum.