Hi,
I just start a server under debian at home.
I have one problem I check on google and cannot figure it out.
I configure conf/map/map-server.conf and conf/char/char-config.conf like that :
map :
so I can connect on local with
clientinfo.xml : <address>192.168.2.20</address>
but not my body with
clientinfo.xml : <address>mynoipaddress</address>
so I change it like that :
char :
so now my buddy can connect with clientinfo.xml : <address>mynoipaddress</address>
But I cannot connect anymore... I try with
clientinfo.xml : <address>192.168.2.20</address>
and
clientinfo.xml : <address>mynoipaddress</address>
but cannot connect.
with
clientinfo.xml : <address>192.168.2.20</address>
I see my try to connect on the server but that I cannot pass the login the server give me this message :
[info]: Closed connection from '192.168.2.14'.
I try to play a bit with conf/network.conf but not much result:
Did someone know what I have to put for we both can connect ?
so I can connect on local with clientinfo.xml : <address>192.168.2.20</address>
I just start a server under debian at home.
I have one problem I check on google and cannot figure it out.
I configure conf/map/map-server.conf and conf/char/char-config.conf like that :
map :
char :
// NOTE: This is useful when you are running behind a firewall $
// a machine with multiple interfaces.
char_ip: "192.168.2.20"
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple in$
// while using the same ports for each server.
// bind_ip: "192.168.2.20"
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: "192.168.2.20"
// Map Server Port
map_port: 5121
// Login Server IP
// The character server connects to the login server using this$
// NOTE: This is useful when you are running behind a firewall $
// a machine with multiple interfaces.
login_ip: "192.168.2.20"
// The character server listens on the interface with this IP a$
// NOTE: This allows you to run multiple servers on multiple in$
// while using the same ports for each server.
// bind_ip: "192.168.2.20"
// Login Server Port
login_port: 6900
// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: "192.168.2.20"
// Character Server Port
char_port: 6121
so I can connect on local with
clientinfo.xml : <address>192.168.2.20</address>
but not my body with
clientinfo.xml : <address>mynoipaddress</address>
so I change it like that :
char :
map :
// The character server connects to the login server using this$
// NOTE: This is useful when you are running behind a firewall $
// a machine with multiple interfaces.
login_ip: "192.168.2.20"
// The character server listens on the interface with this IP a$
// NOTE: This allows you to run multiple servers on multiple in$
// while using the same ports for each server.
// bind_ip: "192.168.2.20"
// Login Server Port
login_port: 6900
// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: "mynoipaddress"
// Character Server Port
char_port: 6121
// NOTE: This is useful when you are running behind a firewall $
// a machine with multiple interfaces.
char_ip: "192.168.2.20"
// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple in$
// while using the same ports for each server.
// bind_ip: "192.168.2.20"
// Character Server Port
char_port: 6121
// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: "mynoipaddress"
// Map Server Port
map_port: 5121
so now my buddy can connect with clientinfo.xml : <address>mynoipaddress</address>
But I cannot connect anymore... I try with
clientinfo.xml : <address>192.168.2.20</address>
and
clientinfo.xml : <address>mynoipaddress</address>
but cannot connect.
with
clientinfo.xml : <address>192.168.2.20</address>
I see my try to connect on the server but that I cannot pass the login the server give me this message :
[info]: Closed connection from '192.168.2.14'.
I try to play a bit with conf/network.conf but not much result:
// Network configuration file
/*
* List here any LAN subnets this server is in.
* Example:
* - char- (or map-) server's IP in LAN is 192.168.0.10
* - Public IP is 198.51.100.37
* If the list contains "192.168.0.10:255.255.255.0", any clients connecting
* from the same 192.168.0.0/24 network will be presented with the LAN IP
* (192.168.0.10) in the server list, rather than the public IP (198.51.100.37).
*/
lan_subnets: (
"127.0.0.1:255.0.0.0",
"192.168.2.14:255.255.255.0",
)
/*
* List here any IP ranges a char- or map-server can connect from.
* A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed
* from ANY IP. (not recommended).
*/
allowed: (
"0.0.0.0:0.0.0.0",
"192.168.2.14:255.255.255.0",
)
/*
* List here any IP ranges a char- or map-server can connect from. These ranges
* will also be excluded from the automatic ipban in casee of password failure.
* Any entry present in this list is also automatically included in the
* allowed IP list.
* Note: This may be a security threat. Only edit this list if you know what
* you are doing.
*/
trusted: (
"127.0.0.1:255.0.0.0",
)
Did someone know what I have to put for we both can connect ?
so I can connect on local with clientinfo.xml : <address>192.168.2.20</address>
Last edited by a moderator: