[question] Интернет
7 ответов205 просмотровСейчас просматривают: 1
· 09.09.2009, 20:20
Народ вот у меня щас стоит ХБ, мы играем так как у меня интернет городской, выходит по локалке все бегают не далуються...! ну онлайн 20-40 человек уже надоел, как мне выложыть Сервер в МИР!? как это сделать чтоб люди могли играть с другиг городов?.. Зарание спасибо!
0
· 18.09.2009, 08:50
В ExternalHostname прописать внешний ip. Если он динамический, используй сервис No-IP.
You can't feeling! No you can't feeling! And you can't feeling!
— People = Shit
0
· 18.09.2009, 09:05
Если незнаешь как посмотреть свой внешний IP адрес то зайди вот на этот сайт _http://2ip.ru/
0
· 24.09.2009, 09:10
MeCAiR: В ExternalHostname прописать внешний ip. Если он динамический, используй сервис No-IP.
Пробовал уже по всякому. Использовал сервис No-Ip и DynDNS. Не могут люди почему то зайти по имени хоста в игру, сайт и форум видят. Хотя я сам захожу нормально. Уже голову сломал....
Посмотрите, пожалуйста. Вот мои конфиги. Сборка L2Emu рева 1610.
Раскрывающийся текст
Логинсервер
# ==========
# Connection
# ==========
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostName = 0.0.0.0
LoginServerPort = 2106
# The port, ip on which login will listen for GameServers
LoginPort = 9014
LoginHostName =0.0.0.0
# The delay between IP Update Time.
# set this delay in minutes after which the login updates the gameservers IP's
# (usefull when ip is dynamic)
# (0 = disabled) in Minutes
IpUpdateTime = 10
# Telnet is disabled by default.
EnableTelnet = false
# ============
# Port Related
# ============
# This is the port telnet server will bind to
StatusPort = 12345
# ============
# Pass Related
# ============
# If the following is not set, a random password is generated on server startup.
# StatusPW = somePass
# =====
# Hosts
# =====
# This list can contain IPs or Hosts of clients you wish to allow.
# Hosts must be resolvable to an IP.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# Make sure there are no spaces between hosts/ips
ListOfHosts =
# --------------------
# Database Information
# --------------------
# Define MySQL Driver
Driver = com.mysql.jdbc.Driver
# here you have some more drivers:
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
# Define MySQL Driver URL.
URL = jdbc:mysql://localhost/rev1610
# here you have some more urls:
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database = L2Emu_DB/user = sa /password = (your pass)
# Your login to Database (default = root)
Login =
# Your password to database (default = root)
Password =
# Define how many connections are allowed on your database.
MaximumDbConnections = 10
Геймсервер
# ---------------------------------
# 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 =0.0.0.0
GameServerPort = 7777
# this is the Loginserver host and port that this gameserver will try to connect to.
LoginPort = 9014
LoginHost = 0.0.0.0
# 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,
Subnet = External,
# ---------------
# Section: Telnet
# ---------------
# Enables /Disables Telnet Server.
EnableTelnet = false
# This is the port telnet server will bind to
# default 23, telnet port.
StatusPort = 23
# If the following is not set, a random password is generated on server startup.
# default l2emuproject, fell free to change it.
StatusPW = l2emuproject
# Use alternative telnet, requiring to do a real login with a GM so your GM-name can be used for messaged instead of "telnet".
AltTelnet = true
# if a password is not set, telnet server will generate a random one, so you define the size of it.
TelnetPasswordLength = 10
# Hosts must be resolvable to an IP.
# define here the IPs allowed to connect to your server via Telnet.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# NOTE: Make sure there are no spaces between hosts/ips !
ListOfHosts =
# ----------------------------
# Section: Database Connection
# ----------------------------
# MySQL Driver we will use to connect to database
Driver= com.mysql.jdbc.Driver
# here are some other drivers :
# Driver= org.hsqldb.jdbcDriver
# Driver= com.microsoft.sqlserver.jdbc.SQLServerDriver
# URL to connect to database.
URL = jdbc:mysql://localhost/rev1610
# here are some other url's :
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database=L2Emu_DB/user=sa/password=
# your database login (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own login)
Login =
# your database password (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own pass)
Password =
# define here how many connections are allowed at the same time.
MaximumDbConnections = 50
# -------------------
# Section: HTML Cache
# -------------------
# Set the html cache's lazy loading true or false
# (Load html's into cache only on first time requested)
LazyCache = true
# ==========
# Connection
# ==========
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostName = 0.0.0.0
LoginServerPort = 2106
# The port, ip on which login will listen for GameServers
LoginPort = 9014
LoginHostName =0.0.0.0
# The delay between IP Update Time.
# set this delay in minutes after which the login updates the gameservers IP's
# (usefull when ip is dynamic)
# (0 = disabled) in Minutes
IpUpdateTime = 10
# Telnet is disabled by default.
EnableTelnet = false
# ============
# Port Related
# ============
# This is the port telnet server will bind to
StatusPort = 12345
# ============
# Pass Related
# ============
# If the following is not set, a random password is generated on server startup.
# StatusPW = somePass
# =====
# Hosts
# =====
# This list can contain IPs or Hosts of clients you wish to allow.
# Hosts must be resolvable to an IP.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# Make sure there are no spaces between hosts/ips
ListOfHosts =
# --------------------
# Database Information
# --------------------
# Define MySQL Driver
Driver = com.mysql.jdbc.Driver
# here you have some more drivers:
# Driver = org.hsqldb.jdbcDriver
# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver
# Define MySQL Driver URL.
URL = jdbc:mysql://localhost/rev1610
# here you have some more urls:
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database = L2Emu_DB/user = sa /password = (your pass)
# Your login to Database (default = root)
Login =
# Your password to database (default = root)
Password =
# Define how many connections are allowed on your database.
MaximumDbConnections = 10
Геймсервер
# ---------------------------------
# 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 =0.0.0.0
GameServerPort = 7777
# this is the Loginserver host and port that this gameserver will try to connect to.
LoginPort = 9014
LoginHost = 0.0.0.0
# 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,
Subnet = External,
# ---------------
# Section: Telnet
# ---------------
# Enables /Disables Telnet Server.
EnableTelnet = false
# This is the port telnet server will bind to
# default 23, telnet port.
StatusPort = 23
# If the following is not set, a random password is generated on server startup.
# default l2emuproject, fell free to change it.
StatusPW = l2emuproject
# Use alternative telnet, requiring to do a real login with a GM so your GM-name can be used for messaged instead of "telnet".
AltTelnet = true
# if a password is not set, telnet server will generate a random one, so you define the size of it.
TelnetPasswordLength = 10
# Hosts must be resolvable to an IP.
# define here the IPs allowed to connect to your server via Telnet.
# The format is as follows:
# ListOfHosts = 0.0.0.0,host,0.0.0.1,host2,host3,host4,0.0.0.3
# NOTE: Make sure there are no spaces between hosts/ips !
ListOfHosts =
# ----------------------------
# Section: Database Connection
# ----------------------------
# MySQL Driver we will use to connect to database
Driver= com.mysql.jdbc.Driver
# here are some other drivers :
# Driver= org.hsqldb.jdbcDriver
# Driver= com.microsoft.sqlserver.jdbc.SQLServerDriver
# URL to connect to database.
URL = jdbc:mysql://localhost/rev1610
# here are some other url's :
# URL = jdbc:hsqldb:hsql://localhost/L2Emu_DB
# URL = jdbc:sqlserver://localhost/database=L2Emu_DB/user=sa/password=
# your database login (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own login)
Login =
# your database password (by default MySQL uses = root, Warning: Not a Safe Setting! try to use your own pass)
Password =
# define here how many connections are allowed at the same time.
MaximumDbConnections = 50
# -------------------
# Section: HTML Cache
# -------------------
# Set the html cache's lazy loading true or false
# (Load html's into cache only on first time requested)
LazyCache = true
Я тут всё убрал, потому что уже запутался. Вообщем свой ИП постоянный я знаю, хост есть. Как сделать что бы на сервер могли заходить друзья через инет? Помогите, пожалста.
//Ska - Длинные текста обязательно под спойлер!
0
Тема закрыта для ответов




