Регистрация Главная Сообщество
Сообщения за день Справка Регистрация

Закрытая тема
 
Опции темы
Старый 29.11.2011, 06:42   #1
 Разведчик
Аватар для vim.adm
 
vim.adm никому не известный тип
Регистрация: 05.11.2011
Сообщений: 0
Популярность: 10
Сказал(а) спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщениях
 
Question Настройка ГС и роутера

помогите с настройкой ГС и роутера TP-Link TL-WR741N
пролистал кучу тем но так и не нашел ответа...


ГС:
Код:
# ===================================#
#   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
# -----------------------------------------------------------------------------------------------------------------------------------------------------------------
# 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 [Ссылки могут видеть только зарегистрированные пользователи. ]. 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 *.
# ----------------------------------------------------------------------------------------

# Enter here (ip) address of your game server, or use the symbol *
GameserverHostname = 192.168.1.100
GameserverPort = 7777

# Configure your external ip
ExternalHostname = 85.12.232.177

# Configure your internal ip
InternalHostname = 192.168.1.100

# Bunch ID and game server. It is better not to change.
LoginPort = 9014
LoginHost = 192.168.1.100

# Database Pool Type
# Possible Values: c3p0 or BoneCP
# c3p0: more stable
# BoneCP: more performance
DatabasePoolType=c3p0

# Parameters Databases - MYSQL
Driver = com.mysql.jdbc.Driver
URL = jdbc:mysql://localhost/gameserver_beta
# Login - Mysql's user
Login = root
# Password - Mysql's Password
Password = interlude
# Attention: lazy init connections disabled!
# Please, set only real values for your database
# Default: 100
MaximumDbConnections = 50

# Default: 0
MaximumDbIdleTime = 0

# The timeout before a new connection to the database (in ms)
# 0 - to remove restrictions
TimeOutConDb = 0

# The timeout before the single connection must be closed (in ms)
# if a connection life is more then this timeout, a Runtime Exception
# is rised up. Post the exception on forum ([Ссылки могут видеть только зарегистрированные пользователи. ]) to solve
# it.
SingleConnectionTimeOutDb=200000

# Sets number of partitions to use.- BoneCP
# In order to reduce lock contention and thus improve performance, 
# each incoming connection request picks off a connection from a pool that has thread-affinity, 
# i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case 
# when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start 
# to have a negative effect on performance (and only for the case when connections on a partition start running out).
PartitionCount = 3

# Setting emulation off the kernel (package SendStatus)
RemoteWhoLog = True
RemoteWhoSendTrash = True
RemoteWhoMaxOnline = 329
RemoteOnlineIncrement = 50
RemoteWhoForceInc = 50
RemotePrivStoreFactor = 12

# Datapack folder
# DatapackRoot = C:/Work/tmp/DataPack
ЛС:
Код:
#============================================================#
#                       Frozen Dev.Team                      #
#============================================================#
# This is the server configuration file. Here you can set up the connection for your server.
# Usually you have to change the ExternalHostname option to
# - 127.0.0.1 (if you want to play alone / testing purpose)
# - LAN IP* (if you want to play from another computer in the network)
# - WAN IP** (if you want to play with friends over internet)
# - Questions? => [Ссылки могут видеть только зарегистрированные пользователи. ]
#
# * = If you want to get your LAN IP, simply choose "Start" => "Run..." then type "cmd" => "ipconfig"
# **= If you want to get you WAN IP, visit [Ссылки могут видеть только зарегистрированные пользователи. ]
# ===================================================================================================

# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================

# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname = 85.12.232.177

# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname = 192.168.1.100

# Bind ip of the loginServer, use * to bind on all available IPs
LoginserverHostname = 192.168.1.100
LoginserverPort = 2106

# How many times you can provide an invalid account/pass before the IP gets banned
LoginTryBeforeBan = 20

# Time you won't be able to login back again after LoginTryBeforeBan tries to login. Provide a value in seconds. Default 10min. (600)  
LoginBlockAfterBan = 600
GMMinLevel = 100

# The address on which login will listen for GameServers, use * to bind on all available IPs  
LoginHostname = 192.168.1.100

# The port on which login will listen for GameServers
LoginPort = 9014

# If set to True any GameServer can register on your login's free slots
AcceptNewGameServer = False

# If False, the licence (after the login) will not be shown
# It is highly recomended for Account Seciurity to leave this option as defalut (True)
ShowLicence = True

# Database Pool Type
# Possible Values: c3p0 or BoneCP
# c3p0: more stable
# BoneCP: more performance
DatabasePoolType=c3p0

# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver

# Database Settings
URL=jdbc:mysql://localhost/loginserver_beta
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=

# Parameters Databases - MYSQL
# Login - Mysql's user
Login = root
# Password - Mysql's Password
Password = interlude
# maximum number of simultaneous connecting to the database
MaximumDbConnections = 50

# Default: 0
MaximumDbIdleTime = 0

# The timeout before a new connection to the database (in ms)
# default 0 disabled
TimeOutConDb = 0

# Sets number of partitions to use. - BoneCP
# In order to reduce lock contention and thus improve performance, 
# each incoming connection request picks off a connection from a pool that has thread-affinity, 
# i.e. pool[threadId % partition_count]. The higher this number, the better your performance will be for the case 
# when you have plenty of short-lived threads. Beyond a certain threshold, maintenance of these pools will start 
# to have a negative effect on performance (and only for the case when connections on a partition start running out).
PartitionCount = 3

# Limit fast connections (input username / password)
FastConnectionLimit = 15
# Time of the normal connection (in ms)
NormalConnectionTime = 700
# Time fast connection (in ms)
FastConnectionTime = 350
# Maximum connections with the 1st IP
MaxConnectionPerIP = 50


# The lifetime of the session with the login server. 
SessionTTL = 25000
MaxSessions = 100

# Choose the option: "true", to create an account when logging in automatically
AutoCreateAccounts = True

# Time to renew the IP address of the server in minutes (for dynamic IP)
IpUpdateTime = 0

# The configuration of the local subnet
# Example : 192.168
# Ppimer : 10.1
NetworkList = 192.168.;10.0.

# ===============================================================
# Test server configuration, not to switch on the game server!  =
# ===============================================================
# Use the GG client authentication
# Login server access let the client without GameGuard
ForceGGAuth = False

# Including protection from flood
# IMPORTANT: Put True for server security.
EnableFloodProtection = True

# Enable mode "debugging"
# With debug you will see more log on console and more messages in game.
Debug = False

# Switched on "development"
Developer = False

# =============================================================
# Anti Ddos protection. 
# This system works with iptables
# =============================================================
# iptables -A INPUT -p tcp --dport 7777 -j DROP
# IMPORTANT: Put True for server security.
# IMPORTANT: Active only with LINUX OS.
EnableDdosProSystem = False
# String deny_comms
# IMPORTANT: If you don't know what is it, leave as default
Deny_noallow_ip_ddos = /sbin/iptables -I INPUT 13 -p tcp --dport 7777 -s $IP -j ACCEPT
# Active full log on Login Server console about Ddos protection
Fulllog_mode_print = false

#-------------------------------------------
# Additional login server logs settings    -
#-------------------------------------------
Debug = False
Assert = False
Developer = False
EnableAllExceptionsLog = false
DebugPackets = false
Роутер(переброска порта 7777):
[Ссылки могут видеть только зарегистрированные пользователи. ]

Проблема:
Запустил сервер, дошел до выбора сервера, а на сервер не заходит...
статус хороший и пинг тоже.
Без роутера работает все на ура, а вот с роутером не могу разобраться, жду помощи...
P.S. роутер убирать нельзя.
 
Старый 29.11.2011, 09:39   #2
 Пехотинец
Аватар для taste
 
taste на правильном путиtaste на правильном пути
Регистрация: 18.12.2009
Сообщений: 54
Популярность: 153
Сказал(а) спасибо: 12
Поблагодарили 5 раз(а) в 5 сообщениях
 
По умолчанию Re: Настройка ГС и роутера

ип внтренний точный написал?открой в роутере порты 7777 2106 9014
 
Старый 29.11.2011, 10:52   #3
 Разведчик
Аватар для vim.adm
 
vim.adm никому не известный тип
Регистрация: 05.11.2011
Сообщений: 0
Популярность: 10
Сказал(а) спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщениях
 
По умолчанию Re: Настройка ГС и роутера

порты все открывал, не помогает

вот ipconfig
Цитата:
Настройка протокола IP для Windows


Адаптер беспроводной локальной сети Беспроводное сетевое соединение 2:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :

Ethernet adapter LAN:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :

Адаптер беспроводной локальной сети Беспроводное сетевое соединение:

DNS-суффикс подключения . . . . . :
Локальный IPv6-адрес канала . . . : fe80::897f:fa88:6dd9:981b%11
IPv4-адрес. . . . . . . . . . . . : 192.168.1.100
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз. . . . . . . . . : 192.168.1.1

Туннельный адаптер 6TO4 Adapter:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :

Туннельный адаптер Reusable ISATAP Interface {2872E32F-AA74-4655-B7AA-56EBF2A2B4
52}:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :

Туннельный адаптер Reusable Microsoft 6To4 Adapter:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :

Туннельный адаптер isatap.{A7217003-AB1C-414D-B3C2-30A1317CC7B7}:

Состояние среды. . . . . . . . : Среда передачи недоступна.
DNS-суффикс подключения . . . . . :

Туннельный адаптер Teredo Tunneling Pseudo-Interface:

DNS-суффикс подключения . . . . . :
IPv6-адрес. . . . . . . . . . . . : 2001:0:5ef5:79fb:303a:1f2d:aaf3:174e
Локальный IPv6-адрес канала . . . : fe80::303a:1f2d:aaf3:174e%24
Основной шлюз. . . . . . . . . : ::

 
Старый 29.11.2011, 11:39   #4
 Пехотинец
Аватар для Mr_R@NDOM
 
Mr_R@NDOM душа компанииMr_R@NDOM душа компанииMr_R@NDOM душа компанииMr_R@NDOM душа компанииMr_R@NDOM душа компанииMr_R@NDOM душа компанииMr_R@NDOM душа компанииMr_R@NDOM душа компании
Регистрация: 09.10.2009
Сообщений: 74
Популярность: 982
Сказал(а) спасибо: 51
Поблагодарили 127 раз(а) в 53 сообщениях
 
По умолчанию Re: Настройка ГС и роутера

С NATом сервер нужно запускать на внутреннем IP + в NATе пере направление 2106, 7777 портов.
 
Старый 29.11.2011, 17:06   #5
 Разведчик
Аватар для vim.adm
 
vim.adm никому не известный тип
Регистрация: 05.11.2011
Сообщений: 0
Популярность: 10
Сказал(а) спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщениях
 
По умолчанию Re: Настройка ГС и роутера

Всем спасибо, разобрался сам.
Как решил: скачал чистый клиент и отредактировал под свой сервер, оказалась в прошлом клиенте стояла зашита от др сервера
 
Закрытая тема


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход

Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
[Статья] НАСТРОЙКА: Настройка сервера Aion Unique под локальную сеть(LAN) Nikr Aion 4 15.02.2020 16:52
ВЕБ ТУЛ настройка!! =loyal=2 Общение и обсуждение 0 28.10.2011 12:23
Настройка роутера под сервер в пв Dr.Soldier Вопросы и ответы, обсуждения 9 21.08.2011 14:26
настройка роутера alegr Вопросы и ответы, обсуждения 2 10.02.2011 01:22
[Скрипт] Настройка \doctor/ Общение и обсуждение 2 25.11.2010 19:50

Заявление об ответственности / Список мошенников

Часовой пояс GMT +4, время: 12:27.

Пишите нам: [email protected]
Copyright © 2024 vBulletin Solutions, Inc.
Translate: zCarot. Webdesign by DevArt (Fox)
G-gaMe! Team production | Since 2008
Hosted by GShost.net