// Note: this file is used by both the char-server and the login-server // This file is necessary to connect to your server locally: // by using it's internal (LAN) IP address, or localhost (127.0.0.1) // The default version treats you LAN as localhost only, // which is fine if you have only one computer // You only need to change this file if you have a public server // AND want to connect from other machines in the LAN // (for an nonpublic server it would be best to leave localhost as LAN // and treat the rest of your LAN as the WAN) // Note: if you set up this file to point to your real LAN, you will not // be able to do: // mana --server localhost --port 6901 // or mana --server 127.0.0.1 --port 6901 // because of the check_ip_flag: yes option // (which will become mandatory in the next release of the server) // instead do: // mana --server 192.168.1.100 --port 6901 // or maybe, depending on how your /etc/hosts and /etc/host.conf are setup, // mana --server ben-desktop --port 6901 // or mana --server ben-desktop.local --port 6901 // Note that only one IP is used, so you can't put different char servers // on different machines (unless you do some internal port-forwarding) // the IP LAN players should use to connect to the char-server lan_char_ip: 127.0.0.1 // lan_char_ip: 192.168.1.100 // the IP that LAN players should use to connect to the map-server lan_map_ip: 127.0.0.1 // lan_map_ip: 192.168.1.100 // put here the Subnet mask of your LAN // see output of ifconfig (Linux) or ipconfig (Windows) subnet: 127.0.0.1 subnetmask: 255.255.255.255 // subnetmask: 255.0.0.0 // Common subnets (if you have a subnet that is not one of these, // you probably don't need to be reading this) // subnet: 10.0.0.0 // subnetmask: 255.0.0.0 // subnet: 172.16.0.0 // subnetmask: 255.240.0.0 // subnet: 192.168.0.0 // subnetmask: 255.255.0.0 // Many home routers only use a portion: // subnet: 192.168.1.0 // subnetmask: 255.255.255.0