From 4d346e92976bec82cfeb1f09fcb662f0f8a9e5a9 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 9 Sep 2013 17:51:47 -0700 Subject: Update config for new code This config will only work with tmwa v13.9.12 or higher. If you need an old version, please stay on the 'unsupported' branch. --- world/conf/lan_support.conf | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'world/conf/lan_support.conf') 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 -- cgit v1.2.3-60-g2f50