Jump to content

riourik

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by riourik


  1. Yeah I put my no-ip Adress but nothing :s

    so after some test.
    Before the test, I was thinking the server was kicking me out. but I think I just cannot log on char-server.

    if I put
    -- <<address>192.168.2.20</address> I see me connect on the login.

    if I put
    -- <<address>riourik.no-ip.com</address> I don't see me connect on login.

    with 192.168.2.20 cannot log on char.
    so hard to get it.
    don't know where I miss something. on wan everything work number 1 but not on lan.

     

    Assume your no-ip is correctly set,started and able to ping "NOIP-ADDS", then follow below;

     

    [1] UPDATE DNS and reboot network interface if required

    sudo nano /etc/resolv.conf
    Add below;
        nameserver 8.8.8.8
        nameserver 8.8.4.4
     

    [2]network.conf add into lan_subnet ;
    "NOIP-ADDS:255.255.255.0",
    ***lan_subnet is whoever can connect from, so add local and wan (no-ip)
    **allowed is wherever your chap and map will connect to login. If same server, just 127.0.0.1. NOTE, must follow what is entered in map and char config. In your case, put LAN
    *trusted just add lan and 127.0.0.1
     
    [3]cd /etc/hosts
    Update your no-ip address and point to 127.0.0.1
     
    [4] Go no-ip.com ensure noip really updated your hostname into current public ip otherwise go manual update in noip website. check whatismyip.com

     

    I follow it but cannot play in local my server lan ip is 192.168.2.20 and my lan ip is 192.168.2.14 

     

     

    login screen

     

     [status]: Request for connection of riourik (ip: 192.168.2.14).
    [Notice]: Authentication accepted (account: riourik, id: 2000000, ip: 192.168.2.14)
    [status]: Connection of the account 'riourik' accepted.
    [info]: Closed connection from '192.168.2.14'.

    but after I have on my client :

    "failed to connect to server"

     

     

    I will quote you my network files just in case I did something wrong

    // 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",
    	"riourik.ddns.net:255.255.255.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.20:255.255.255.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",
    	"192.168.2.14:255.255.255.0",
    )
    
    

  2. 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 :

     

     

     
    // 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

     

    char :

     

     

     

     

     // 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 :

     

     

                    // 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

     

    map :

     

     

     // 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>

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.