You are mixing up a lot of thing and/or you got a lot of wrong concepts.
You cannot set up a host file like this:
Code: Select all
127.0.0.1 localhostabc.no-ip.biz L2authd.lineage2.com
The hosts file is used to
map hostnames to IP addresses not hostnames into hostnames!
Also, why would you forward l2.exe file?
This isn't needed at all.
Instead of that you could make sure the login server and game server ports are being forwarded.
You've decrypted a client file, which is illegal and
not needed, anyway the hosts file from your friends isn't working, the l2.ini you have edited is redirecting them to your server, not their hosts file.
I assume you are running this in a LAN, why are you using a Dynamic DNS service if your server machine has an
static IP address?
All the hosts files should look like this (including yours):
Code: Select all
# Copyright (c) 1993-2009 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 # localhost name resolution is handled within DNS itself.# 127.0.0.1 localhost127.0.0.1 localhost192.168.1.2 l2authd.lineage2.com
In the
loginserver.properties you should have:
(Optional) In the
server.properties you can change it to allow only connections from your network: