summaryrefslogtreecommitdiff
path: root/world/conf/lan_support.conf
diff options
context:
space:
mode:
Diffstat (limited to 'world/conf/lan_support.conf')
-rw-r--r--world/conf/lan_support.conf27
1 files changed, 7 insertions, 20 deletions
diff --git a/world/conf/lan_support.conf b/world/conf/lan_support.conf
index 2f49419c..b3a6a57a 100644
--- a/world/conf/lan_support.conf
+++ b/world/conf/lan_support.conf
@@ -1,4 +1,4 @@
-// Note: this file is used by both the char-server and the login-server
+// Note: used by the char-server; another copy is used by 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)
@@ -26,33 +26,20 @@
// 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
-
+lan_subnet: 127.0.0.1
+//lan_subnet: 127.0.0.1/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
+//lan_subnet: 10.0.0.0/8
+//lan_subnet: 172.16.0.0/12
+//lan_subnet: 192.168.0.0/16
// Many home routers only use a portion:
-// subnet: 192.168.1.0
-// subnetmask: 255.255.255.0
+//lan_subnet: 192.168.1.0/255.255.255.0