03-25-2012, 10:12 AM
Дело в том что я в игру сам могу заходить, а другие не могут...
IP адрес: 192.168.0.2
Маска подсети: 255.255.255.0
Основной шлюз: 192.168.0.1
Вот конфиги
Конфиги
IP адрес: 192.168.0.2
Маска подсети: 255.255.255.0
Основной шлюз: 192.168.0.1
Вот конфиги
Открыть спойлер
gameserver# ---------------------------------------------------------------------------
# Game Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
#
# Note: External/Internal address definitions was moved to the ipconfig.xml
#
# Если у вас логин сервер на отдельной машине, укажите IP к нему.
# Если на 1 и логин и гейм, то желательно не трогать.
# По умолчанию: 127.0.0.1
LoginHost = 192.168.0.2
# Порт логин сервера, используется для связи Гейм сервера с Логин сервером
# По умолчанию: 9014
LoginPort = 9014
# Bind address for gameserver. You should not need to change it in most cases.
# По умолчанию: * (0.0.0.0)
GameserverHostname = *
# Порт вашего гейм сервера на который заходят игроки.
# Если вы его измените, то не забудьте изменить в L2.ini
# По умолчанию: 7777
GameserverPort = 7777
# Game Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
#
# Note: External/Internal address definitions was moved to the ipconfig.xml
#
# Если у вас логин сервер на отдельной машине, укажите IP к нему.
# Если на 1 и логин и гейм, то желательно не трогать.
# По умолчанию: 127.0.0.1
LoginHost = 192.168.0.2
# Порт логин сервера, используется для связи Гейм сервера с Логин сервером
# По умолчанию: 9014
LoginPort = 9014
# Bind address for gameserver. You should not need to change it in most cases.
# По умолчанию: * (0.0.0.0)
GameserverHostname = *
# Порт вашего гейм сервера на который заходят игроки.
# Если вы его измените, то не забудьте изменить в L2.ini
# По умолчанию: 7777
GameserverPort = 7777
Открыть спойлер
ipconfig.xml<?xml version="1.0" encoding="UTF-8"?>
<gameserver address="192.168.0.2"> <!-- Ваш внешний IP адрес, который вы прописываете в L2.ini -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- localhost loopback -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- Сюда свой локальный IP -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- Сюда свой локальный IP, если есть 2 локальное подключение -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- Сюда свой локальный IP, если есть 3 локальное подключение -->
</gameserver>
<gameserver address="192.168.0.2"> <!-- Ваш внешний IP адрес, который вы прописываете в L2.ini -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- localhost loopback -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- Сюда свой локальный IP -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- Сюда свой локальный IP, если есть 2 локальное подключение -->
<define subnet="192.168.0.2" address="192.168.0.2" /> <!-- Сюда свой локальный IP, если есть 3 локальное подключение -->
</gameserver>
Открыть спойлер
loginserver# ---------------------------------------------------------------------------
# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = *
# Default: 2106
LoginserverPort = 2106
# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: *
LoginHostname = *
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# Default: 15
IpUpdateTime = 15
# Login Server Settings
# ---------------------------------------------------------------------------
# This is the server configuration file. Here you can set up the connection information for your server.
# This was written with the assumption that you are behind a router.
# Dumbed Down Definitions...
# LAN (LOCAL area network) - typically consists of computers connected to the same router as you.
# WAN (WIDE area network) - typically consists of computers OUTSIDE of your router (ie. the internet).
# x.x.x.x - Format of an IP address. Do not include the x'es into settings. Must be real numbers.
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = *
# Default: 2106
LoginserverPort = 2106
# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: *
LoginHostname = *
# The port on which login will listen for GameServers
# Default: 9014
LoginPort = 9014
# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)
# Default: 15
IpUpdateTime = 15