PDA

View Full Version : Two server aliases on one real server


RmzVoid
05.07.2005, 02:29
My server in LAN. I want to do possible connect gamers from WAN and from LAN. To avoid complex tuning my router I want create in lin2db 2 records - one with ip = WAN ip of my router and second with ip = LAN ip of my server. I add those records but c2authd register only first server. How can I register same server twice? one with LA and another with WAN ip?

BiGBoY
05.07.2005, 06:29
in newauth/etc u fill find config.txt file
change this line to "true" ReadLocalServerList=true
after that create file called serverlist in same folder where config.txt file is (without extension) and add 2 lines

1,Lineage2,wanip,1,127.0.0.1,1
2,Lineage2,lanip,1,127.0.0.1,1

destrbr
05.07.2005, 11:39
But i think the L2SERVER doesnt support 2 authd connections, this will work if you run 2 L2server...

RmzVoid
06.07.2005, 09:32
in newauth/etc u fill find config.txt file
change this line to "true" ReadLocalServerList=true
after that create file called serverlist in same folder where config.txt file is (without extension) and add 2 lines

1,Lineage2,wanip,1,127.0.0.1,1
2,Lineage2,lanip,1,127.0.0.1,1

I just make all that you write here. But my AuthD crash without any messages. Just closes. But string "*new connection from ..." appear then close
Here my screenshot and content of "serverlist" file:

1,Lineage2,127.0.0.1,127.0.0.1,1,1
2,Lineage2,127.0.0.1,127.0.0.1,1,1

ips equal, dont care it is for test only in my home computer ^)
I also have question - if I set ReadLocalServer to True it is cancels reading from db? And IMHO this is same but uses file instead db.

melkij
09.07.2005, 13:59
:) your WAN ip is 127.0.0.1? =] and lan? :)
I think no...It must be something like
2xx.xx.xx.xx wan
and lan
1xx.xx8.0.1
just ex.
Try that way

RmzVoid
10.07.2005, 16:56
this is at my home computer! just for testing. or you think that wan and lan ips mast be different in any case?

lexa
27.08.2005, 21:04
in newauth/etc u fill find config.txt file
change this line to "true" ReadLocalServerList=true
after that create file called serverlist in same folder where config.txt file is (without extension) and add 2 lines

1,Lineage2,wanip,1,127.0.0.1,1
2,Lineage2,lanip,1,127.0.0.1,1

I just make all that you write here. But my AuthD crash without any messages. Just closes. But string "*new connection from ..." appear then close
Here my screenshot and content of "serverlist" file:

1,Lineage2,127.0.0.1,127.0.0.1,1,1
2,Lineage2,127.0.0.1,127.0.0.1,1,1

ips equal, dont care it is for test only in my home computer ^)
I also have question - if I set ReadLocalServer to True it is cancels reading from db? And IMHO this is same but uses file instead db.

1,Lineage2,127.0.0.1,127.0.0.1,[glow=red:b5d6c4f227]1,1 [/glow:b5d6c4f227]
2,Lineage2,127.0.0.1,127.0.0.1,[glow=red:b5d6c4f227]1,1[/glow:b5d6c4f227]

разъясните плииз значение цифр после запятых?