
Originally Posted by
Inoxx1
ok i got it but now i dont know how to get my friend on the server:P
(i need an example of the hostfile)
In server.properties and login.properties you have 2 IP's to set: External and Internal.
Internal one is the one for your LAN, and it can be 192.168.x.x.
The External one is the one you are being seen from outside LAN, and it should be a routable IP' You can find it going to WhatIsMyIP.com
For you, internal, the hosts file should look like:
Code:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
192.168.1.100 L2authd.lineage2.com
192.168.1.100 L2testauthd.lineage2.com
but for someone coming from outside, it should look like:
Code:
# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
193.242.120.8 L2authd.lineage2.com
193.242.120.8 L2testauthd.lineage2.com
Notice that the sign "#" is for <comment>.