Hosting with Apprentice while having a Router
This tutorial will be dedicated to helping those with a router who cannot accept calls on Apprentice. The difficult thing about making it work, is that the extensive instructions on doing so vary depending on which router brand you own. That's why this tutorial will mainly describe what to look for and will try to make you understand what you have to do.
First of all, go into apprentice and go to File:New Game:Connect to Opponent. Add the IP listed there to your clipboard (control+c).
This is the private IP of your computer assigned by the router. The router gives your computer this IP to be able to distinct your computer from others in the "router network". This is a different IP than your public IP. Every computer connected to the router has the same public IP, because there is just 1 modem connecting the router to the internet.
When you want an opponent to connect to you, you'll have to give your public IP. Then the router will see someone trying to connect on port 4747, but it won't know yet to which computer in the "router network" your opponent wants to connect. You'll need to tell that to the router! So that's what we'll do.
The Router's IP
We now have the IP the router gave to your computer and we'll need the IP of the router itself, to be able to change its settings. Replace the numbers after the last dot with a single 1. It should look like this: "192.168.0.1".
Type that IP in your browser (ie: Internet Explorer) like this: "http://192.168.0.1". Now, Hit enter. A pop-up box should appear asking you to log in to your router settings. If the pop-up box does not come up, try to replace the last 1 with a 0, like this: "http://192.168.0.0". If this does not work, obtain your public ip. This ip can be obtained through typing in irc: "//say $ip" (Or you can see it below our site's Chatroom.) Enter that ip into the address bar and try again.
Login into the router
If you have not yet set a password for your router settings, simply type "admin" for the userid and leave the password field blank. Hit enter to login. If you are not able to log in, go back into the login screen and leave the user name blank while putting "admin" in the password section. If this still does not work, you will need to obtain the password that was set for your router. The only person who would know this password is that person who had set it.
If you have a Linksys Router, then it'll work slightly different then explained below. If you have a Linksys Router, view this portforwarding page to see how you should do it. If you don't, continue reading :)
Virtual Server a.k.a. Port Forwarding
Once you are in, you will need to get to the Application/Virtual Server section. For a D-Link router, it will look like the following:
What you can do here is setting the router to forward data that it received from an outsider at a specific port to your computer. So you'll need to enter your private IP, the public port and the private port you'll want it to forward to. The most commonly used port for apprentice is 4747. So type 4747 for both ports.
Click "enable" to enable it. In the Name section, put the program name. In this situation the program name is "Apprentice". Select TCP as Protocol Type in the drop-down box and schedule it as always.
If you begin to get confused and/or this process didnt work for you, look at all the programs previously installed in the virtual servers section. By looking at how they have been installed, you may get a better understanding of what you need to change to fix the problem.
You'll also need to check if the firewall options in the router wouldn't block the traffic. So you will probably have to open port 4747 in the firewall settings of the router fror your private IP.
There is a good chance that all this will not work on the first try. You may have to change a small setting to fix the problem. Please keep trying. If after a good portion of time you still can not get Apprentice accepting calls, then you may ask someone. It is very difficult for someone to explain this process over the internet, so again you may have to figure some of this process out by yourself. Please be patient before concluding that you need to ask for help from someone on IRC.
I hope that this mini tutorial helped you. Good luck. :)
Download & Guides