I want people to join my server.....
I have set all options ok and i create a static address at dyndns
I am not using the dyndns program because my router has an option that i can enter the address , my username and password and it will connect at dyndns its own....
is this host file correct?????
127.0.0.1 localhost
l2dimension.game-server.cc l2testauthd.lineage2.com
l2dimension.game-server.cc l2authd.lineage2.com
HOST file
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Advanced User
- Posts: 308
- Joined: Wed May 10, 2006 11:40 am
- Location: U.K.
O.K. - here goes an explanation.
To you, the server is on your internal network, so in your hosts file, you need ....
192.168.?.? l2authd.lineage2.com
Your friends, however, will need the dyndns address. They don't need the 192.168 address in their host file.
That gets everything looking in the right direction.
Now for the tricky bit ...
Say your router is 192.?.?.1 and your gameserver is 192.?.?.5 - for arguments sake. Your router has to be told that any traffic coming in to your network on the ports that your login server and your game server are using (usually ports 2106 and 7777) has to be diverted to the 192.?.?.5 address.
If you don't forward these two ports, then the router doesn't know where to send the traffic in your internal network.
Hope that makes sense because it is about as far as I can explain it.
To you, the server is on your internal network, so in your hosts file, you need ....
192.168.?.? l2authd.lineage2.com
Your friends, however, will need the dyndns address. They don't need the 192.168 address in their host file.
That gets everything looking in the right direction.
Now for the tricky bit ...
Say your router is 192.?.?.1 and your gameserver is 192.?.?.5 - for arguments sake. Your router has to be told that any traffic coming in to your network on the ports that your login server and your game server are using (usually ports 2106 and 7777) has to be diverted to the 192.?.?.5 address.
If you don't forward these two ports, then the router doesn't know where to send the traffic in your internal network.
Hope that makes sense because it is about as far as I can explain it.
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
- jimbo1983
- Posts: 6
- Joined: Thu Mar 23, 2006 7:03 pm
Yea i know all these....
you are absolutelly right
the only thing i need to be sure is that the host file i made for other people is correct
example:
127.0.0.1 localhost ------>correct!!!
l2dimension.game-server localhost--------->??????
i mean can i put letters before the "localhost" or only numbers
Localhost is used only as an example.......
you are absolutelly right
the only thing i need to be sure is that the host file i made for other people is correct
example:
127.0.0.1 localhost ------>correct!!!
l2dimension.game-server localhost--------->??????
i mean can i put letters before the "localhost" or only numbers
Localhost is used only as an example.......
-
- Advanced User
- Posts: 308
- Joined: Wed May 10, 2006 11:40 am
- Location: U.K.
In yours ...jimbo1983 wrote: the only thing i need to be sure is that the host file i made for other people is correct
192.168.?.? l2authd.lineage2.com
In theirs ...
2dimension.game-server l2authd.lineage2.com
... but it should be up to them to edit their hosts file. Editing this by you is dangerous, as their system folder could be anywhere and they could have other entries in their hosts file already. I run multiple boot systems; I have different OS files all over the place. In fact, I play L2 on a W2K system, and that is c:\winnt rather than c:\windows. You will need to hook in to the environment variables for system folder location ... but don't ask me about that because I haven't a clue.
The entry ...
192.168.?.? l2authd.lineage2.com
... is saying, anything that tries to talk with "l2authd.lineage2.com", instead send the traffic to 192.168.?.?
There can be no space or any other character in front of the IP address/domain name. There can be spaces or tabs in between the IP address and the redirected domain name. In fact, I have never tried a domain name in place of an IP in the hosts file, I have only used IP addresses.
Good luck!
My friend is a paranoid schizophrenic ... she'll take over the world, as long as nobody minds.
-
- L2j Veteran
- Posts: 152
- Joined: Sun Apr 10, 2005 1:34 am
http://l2j.jot.com/WikiHome/L2J/Setup%2 ... sts%20file
All entries in a HOSTS file must be in the format of:
ipaddress hostname
For example:
192.168.1.1 mycomputer.mydomain.com
Notice that you must have a whitespace between the IP address
and the hostname. Also keep in mind that the hostname can
not contain any symbols like /,,http://, etc.
The ipaddress must be numbers and the hostname must be a name.
As a last note, you can use the # symbol to make comments. Any
line that starts with the # symbol will not be parsed by
the operating system. You can therefore use this # symbol
to make comments.