summaryrefslogtreecommitdiff
path: root/world/conf/lan_support.conf
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-06-18 21:58:47 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-06-19 14:19:55 -0700
commitbae4b92e560c2694eaaf0e8b4d9e95e56204471b (patch)
tree4acc120f6a94cfbf9694bf344658493de5aaa67b /world/conf/lan_support.conf
parent319f80526f8585ecadaec986e37c9bd326f4d363 (diff)
downloadserverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.gz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.bz2
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.tar.xz
serverdata-bae4b92e560c2694eaaf0e8b4d9e95e56204471b.zip
Move to a subdirectory
Diffstat (limited to 'world/conf/lan_support.conf')
-rw-r--r--world/conf/lan_support.conf58
1 files changed, 58 insertions, 0 deletions
diff --git a/world/conf/lan_support.conf b/world/conf/lan_support.conf
new file mode 100644
index 00000000..2f49419c
--- /dev/null
+++ b/world/conf/lan_support.conf
@@ -0,0 +1,58 @@
+// 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