diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-09-09 17:51:47 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-09-12 10:58:45 -0700 |
commit | 4d346e92976bec82cfeb1f09fcb662f0f8a9e5a9 (patch) | |
tree | cda79957361c5be649ff40dacc5658907d07ee49 /world/conf/lan_support.conf | |
parent | 0b6c8ab443669acb51fbaa6f5c476cd4ecae78a0 (diff) | |
download | serverdata-4d346e92976bec82cfeb1f09fcb662f0f8a9e5a9.tar.gz serverdata-4d346e92976bec82cfeb1f09fcb662f0f8a9e5a9.tar.bz2 serverdata-4d346e92976bec82cfeb1f09fcb662f0f8a9e5a9.tar.xz serverdata-4d346e92976bec82cfeb1f09fcb662f0f8a9e5a9.zip |
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.
Diffstat (limited to 'world/conf/lan_support.conf')
-rw-r--r-- | world/conf/lan_support.conf | 27 |
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 |