View Single Post
Old 01.06.2005, 00:30   #11
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

Lets asume u got ur router set to LAN IP 1xx.xx8.2xx.xx4
and ur game server got LAN IP 1xx.xx8.200.1
and ur game computer got LAN IP 1xx.xx8.200.2
all in subnetmask 2xx.xx5.255.0
and ur WAN IP is xxx.xxx.xxx.xxx

Configure LAN for l2server:
IP:1xx.xx8.200.1
subnet:2xx.xx5.255.0
gateway:1xx.xx8.2xx.xx4
dns:1xx.xx8.2xx.xx4 or real IPS DNS

Configure LAN for game pc:
IP:1xx.xx8.200.2
subnet:2xx.xx5.255.0
gateway:1xx.xx8.2xx.xx4
dns:1xx.xx8.2xx.xx4 or real IPS DNS

L2 IP configuration:
in li2db/table server/id:1 name:Whatever ip:xxx.xxx.xxx.xxx inner_ip:127.0.0.1 or 1xx.xx8.200.1 (in ur case i prefer 127.0.0.1) agelimit:0 pkflag:1 kind:0 port:7777

So whichever inner_ip u have set here make sure u did the same to all ur ini files.

Set ur router NAT settings to enable. Set port FORWARD (ports 80, 2009 2106 and 7777) to 1xx.xx8.200.1
Restart router.

L2.ini:
u got two choices. Make one for public players from outside with wan ip:xxx.xxx.xxx.xxx and another one for LAN play with IP:1xx.xx8.200.1
U should be able to use public one but if it wont work try with local one.

Start CacheD, AuthD and start on game pc command prompt and type: telnet 1xx.xx8.200.1 2106
if u get the connection and u will get some junk text back u r on good way to succeed. Now start l2server and try to telnet to 1xx.xx8.200.1 7777
If u also connect to l2server u got ur router set well.
Now launch l2 client with one of both l2.ini u created and try to login (try with WAN first).
BiGBoY is offline