Skip to content
La2Base
Home
DownloadsWikiForumFAQ
Search
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/Форум для новичков[JAVA]/[help]2 сети
Search

[help]2 сети

5 replies67 viewsCurrently viewing: 1
andre
andre

User

Бывалый

Posts: 127

На форуме с: 12/17/2007

Репутация: +52

Рейтинг: 0

· 06/13/2009, 04:04 PM

Люди помогите пожалуйста запустить сервер на 2 сети.

Сборка: L2JServer Final v.6210
Немогу зделать сервер на 2 сети. Я прописываю все как приведенно ниже (скрыто под сполером), но на сервер пускает только тех кто заходит из InternalHostname (внутрисетевой адрес), а со второй сети которые заходять по ExternalHostname (внешнесетевой адрес) доходят до выбора сервера и все дальше непускает.
Вопрос: в чем причина и как исправить?
Я сначало думал порты но уже пробывал менять их как угодно.
Вот мои настройки.

Раскрывающийся текст

Настройки Логин сервера:
# ---------------------------------------------------------------------------
# Login Server Settings
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
ExternalHostname = 10.100.2.241 <- первая сеть.
# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 192.168.104.132 <- вторая сеть.

# 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



Настройки Гейм сервера:
# ---------------------------------------------------------------------------
# Game Server Settings
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# Networking
# ---------------------------------------------------------------------------
# ---------------------------------------------------------------------------
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# Common settings...
# 127.0.0.1 - If you are playing alone on a test server
# 192.168.x.x - This is if you are on a 192.168.x.x type network (behind a standard consumer router) and want other computers from JUST the internal network to be able to connect
# x.x.x.x - WAN IP obtained from http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: *
ExternalHostname = 10.100.2.241 <- первая сеть.

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# If this IP is resolvable by the Login Server, just leave *.
# ---------------------------------------------------------------------------
# Default: *
InternalHostname = 192.168.104.132 <- вторая сеть.


# Default: 127.0.0.1
LoginHost = 127.0.0.1

# Default: 9014
LoginPort = 9014

# Default: *
GameserverHostname = *

# Default: 7777
GameserverPort = 7777

— 56

0
andre
andre

User

Бывалый

Posts: 127

На форуме с: 12/17/2007

Репутация: +52

Рейтинг: 0

· 06/14/2009, 02:13 AM

Что некто не знает как это зделать? Помогите решить проблему плз.

— 56

0
А
Александр

User

Бывалый

Posts: 149

На форуме с: 05/09/2009

Репутация: +16

Рейтинг: 0

· 06/14/2009, 02:21 AM

в 4 строки впиши свой ай пи порты не меняй их нельзя просто так сменить,и добавь 2й сети в список ай пишников 1е 3 или 2 цифры типа 10.57.89.- внешний ай пи это для инэта а в сети не надо менять.
ExternalHostname = 10.100.2.241 <- первая сеть.
# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 10.100.2.241 <- вторая сеть.

# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = 10.100.2.241

# Default: 2106
LoginserverPort = 2106

# The address on which login will listen for GameServers, use * to bind on all available IPs
# Default: *
LoginHostname =10.100.2.241
тоже самое с логин сервером,
типа так как к инэту через сеть яб и сам узнал.

0
andre
andre

User

Бывалый

Posts: 127

На форуме с: 12/17/2007

Репутация: +52

Рейтинг: 0

· 06/14/2009, 03:03 AM

Чет я не понял и совсем запутался. Если можешь напиши полностью как должны выглядеть настройки ЛС и ГС
Ты просто немного непонятно выразился(как для меня). Что такое: 1) 'в 4 строки впиши' Это в четыри или в четвёртую? 2) 'и добавь 2й сети в список' Что можно добавить второй сети? Или вторую сеть кудато добавить? И где этот список IP адресов? И меня насторожили твои слова 'в список ай пишников 1е 3 или 2 цифры типа 10.57.89.- внешний ай пи это для инэта а в сети не надо менять.' Тоесть это для того чтобы сервер думал что внутрисетевой IP это внешний?

— 56

0
andre
andre

User

Бывалый

Posts: 127

На форуме с: 12/17/2007

Репутация: +52

Рейтинг: 0

· 06/14/2009, 03:25 PM

Ого ребятки, падает наша la2base :( Раньше могли во всем помочь, толи уже наши умельци подросли и покинули портальчик(а новые нечего не могут), толи это лето настало.

— 56

0
Войдите или зарегистрируйтесь чтобы ответить