Здравствуйте люди (* Будьте добры помочь настроить сервер на две сети (два ип),
--------------------------------------
1-ая сеть допустим параметры такие(просто для примера):
IP-адресс: 127.0.0.1
Маска подсети: 255.255.255.0
Основной шлюз: localhost
--------------------------------------
2-ая сеть:
IP-адресс: 127.0.0.2
Маска подсети: 255.255.255.0
Основной шлюз: localhost2
--------------------------------------
Конфиг сервера :
CODE
# ---------------------------------
# Section: Network Connection Setup
# ---------------------------------
# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs
# This is The IP/Port Gameserver will Assume and Use.
GameServerHostName =
GameServerPort = 7777
# this is the Loginserver host and port that this gameserver will try to connect to.
LoginPort = 9014
LoginHost =
# This is transmitted to the clients connecting from an external network,
# so it has to be a public IP or resolvable hostname.
ExternalHostname =
# This is transmitted to the client from the same network,
# so it has to be a local IP or resolvable hostname
InternalHostname =
# ------------------------------------
# Section: Subnets & Advanced Routing
# ------------------------------------
# Define optional networks and router IPs
#
# Format:
#
# Subnet = host, net/mask; host, net/mask, net/mask
#
# host - IP address (200.100.200.100) or
# fully qualified domain name (example.org)
#
# net/mask - mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0
# would be 192.168.*.*
#
# External - external hostname, you defined in server.properties
# Internal - internal hostname, you defined in server.properties
#
# Example:
# Subnet = 169.254.1.100, 169.254.0.0/16, 111.222.333.0/255.255.255.0
InternalNetworks =
OptionalNetworks =
Subnet = Internal, 127.0.0.1/32, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
Subnet = External, 0.0.0.0/0
Че куда ставить расфасуйте пожалуйста... Думаю многим будет это полезно
p.s. ну и конечно же моя цель такова (как уже все поняли(* ) что бы с двух сетей могли играть на моем сервере
Сообщение отредактировал PowerSword - 10.3.2009, 16:15