GServer Hosting

Hosting a GServer
*To go through with this tutorial, you must know the personal layout of your LAN.
*Paths may change drastically depending on layouts and configurations. Knowing how you connect is key.
*Due to many scenarios and specifics, this Tutorial has been cut into different Posts.

Step 1, Knowing your Hardware Layout:
There are various ways computers can connect to the internet.
Some will be unhostable, some will have complications. Getting through this step will choose which path you take.
Internet -> Modem -> Computer
Internet -> Modem -> Router -> Computer
Internet -> DSL-Router -> Computer
Internet -> DSL-Router -> Router -> Computer

Step 2, Knowing your Software Layout:
You must know your configurations on how to connect to the internet.
Do you use a Static IP method or PPPoE to get Online?
Which piece of hardware (Modem, Router, PC) contains the information to get you Online?
The IP’s to get into the Modem/Router Control Panels if necessary.
Step 3, Configuring the serveroptions.txt:
In your serveroptions.txt make sure of the following, (edit these parts only if you know what you’re doing.)
[size=1]# The information of the computer hosting the gserver. This gets sent to people wanting to connect.

If myip is set to AUTO, it uses the IP address exposed to the list server.

myip = AUTO
serverport = 14802

Specifies the location of the list server.

DON’T CHANGE IF YOU DON’T KNOW WHAT YOU ARE DOING.

listip = listserver.graal.in
listport = 14900
[/size]

Step 4, Go with the option which applies to you:
Internet -> Modem -> Computer
Internet -> Modem -> Router -> Computer
Internet -> DSL-Router -> Computer
Internet -> DSL-Router -> Router -> Computer

If Internet -> DSL-Router -> Router -> Computer does not work for you, also follow the directions in Internet -> Modem -> Computer. Some routers need that extra step to work properly.

Internet -> Modem -> Computer


*Common Issues: Unable to Port Forward

*When hosting the GServer, you may notice you cannot connect and neither can others.
This is because you are unable to port forward, the method around this is as follows.

Step 1, Open the Port
Make sure your Firewall is allowing the GServer full access and allowing the use of the designated GServer’s Port.

*Note: Our listserver now allows Hosts to be able to connect to themselves.

Internet -> Modem -> Router -> Computer


*Common Issues: None (Congrats, you got the easiest setting!)

Step 1, Open the Port
Make sure your Firewall is allowing the GServer full access and allowing the use of the designated GServer’s Port.

Step 2, Router CP
I assume you know the IP to your Router’s Control Panel, right?
For Linksys, the IP is usually http://192.168.1.1/ (Username and Password Required)

Once in the Control Panel, look a tab called “Applications and Gaming” or “Port Forwarding”.
Once here, you will forward your GServer’s Designated Port (14802) to your PC’s current local IP.
*To get your local IP, you can either check your network settings, look at the DHCP Client List in the Router, or use Start>Run>‘Command’>‘ipconfig’

‘Application Name’ is more like a Comment, it can be anything.
Also you want to port forward TCP, you may forward both TCP and UDP, but the GServer does not currently support UDP.

After it is set up, it may look something like this:
[Graal] 14802~14802 TCP/UDP .100

Your server should now be available for everyone!

Internet -> DSL-Router -> Computer


*Common Issues: Unable to Portforward, Unable to host. (You’re boned.)

You will not get much luck from a DSL-Router/Modem w/ built-in Router.
It is the worst thing to host on and it causes all forms of trouble.
If you do not have a spare ‘normal’ router laying around, you will not be able to host in your current state.

The reason? These things cannot port forward dispite what all the firmware and settings claim.
Either get a normal Modem, a Router, or a Hamachi Server. (Hamachi is not my area of interest, sorry.)

Internet -> DSL-Router -> Router -> Computer


*Common Issues: Unable to Portforward, Unable to host.

Now, you’re not screwed like the previous situation where you have this evil modem and no router.
This is probably the most common scenario and also requires the most of the information you’ve gathered previously.

If your Modem Connects to the Internet (contains the info to get Online) and your Router is set to ‘Automatic IP’ then you cannot host just yet. The Router has the ability to bypass this type of modem’s bullshit and non-functionality.

Step 1, Collecting Info:
Collect the information you use to connect to the internet from your Modem, Be it Static IP, DNS, or Username@ISP:Password for PPPoE

Step 2, Putting it to good use:
Put all this information into your Router’s Control Panel.
Select Static IP or PPPoE respectively for your connection.
*If its Static, put in your external IP address, the DNS Servers, and anything else needed.
*If its PPPoE, you may have collected your information as “Username” and “Password”, this is only half right. Your Username is really Username@ISPAddress, you can probably find the address it connects to back in your Modem.

Step 3, Your Router is Bypassing the Modem? Good:
Now your Router should be connecting to the internet itself, and using the Modem as an actual modem…
If this is the case, you’re all good (otherwise, fix your connection settings.)

Now we can take a step back into a previous selection, as it contains identical situations for your next steps.[list]
[*]Internet -> Modem -> Router -> Computer[/list]

After this, pat yourself on the back, you should be ready to go!