Jump to content
  • 0

Ip config


Question

Posted

Can someone explain me about ip write to Freya server ....

 

 

Where need write an external ip and where need write inside IP...And which port need write to l2.ini

 

Here all config which i find

 

IPconfig...

<?xml version="1.0" encoding="UTF-8"?>

<!-- Put old contents of ExternalHostname here, used by default -->

<gameserver address="127.0.0.1">

<!-- Localhost access -->

<define subnet="127.0.0.0/8" address="127.0.0.1" />

<!-- LAN's, put old contents of InternalHostname here -->

<define subnet="10.0.0.0/8" address="10.0.0.0" />

<define subnet="172.16.0.0/19" address="172.16.0.0" />

<define subnet="192.168.0.0/16" address="192.168.0.0" />

</gameserver>

 

 

Server.propties

# ---------------------------------------------------------------------------

# 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

#

 

# Where's the Login server this gameserver should connect to

# Default: 127.0.0.1

LoginHost = 192.168.1.64

 

# TCP port the login server listen to for gameserver connection requests

# Default: 9014

LoginPort = 9014

 

# Bind address for gameserver. You should not need to change it in most cases.

# Default: * (0.0.0.0)

GameserverHostname = *

 

# Default: 7777

GameserverPort = 7777

 

 

# ---------------------------------------------------------------------------

# Database

# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for the database you're using.

# Examples:

# Driver = com.mysql.jdbc.Driver (default)

# Driver = org.hsqldb.jdbcDriver

# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

Driver = com.mysql.jdbc.Driver

# Database URL

# URL = jdbc:mysql://localhost/l2jdb (default)

# URL = jdbc:hsqldb:hsql://localhost/l2jdb

# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =

URL = jdbc:mysql://localhost/l2jdb

# Database user info (default is "root" but it's not recommended)

Login = root

# Database connection password

Password =

 

# Default: 100

MaximumDbConnections = 100

 

# Default: 0

MaximumDbIdleTime = 0

 

 

And login.properties

 

 

# 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 = 192.168.1.64

 

# 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

 

 

# ---------------------------------------------------------------------------

# Security

# ---------------------------------------------------------------------------

# Default: True

LogLoginController = True

 

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

# Default: 10

LoginTryBeforeBan = 10

 

# Time you won't be able to login back again after LoginTryBeforeBan tries to login.

# Default: 600 (10 minutes)

LoginBlockAfterBan = 600

 

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

# Default: False

AcceptNewGameServer = False

 

# Enforce GameGuard authorization from client?

# If True, login server will kick client if the client bypassed GameGuard authentication.

# Default: False

ForceGGAuth = False

 

# Flood Protection. All values are in MILISECONDS.

# Default: True

EnableFloodProtection = True

 

# Default: 15

FastConnectionLimit = 15

 

# Default: 700

NormalConnectionTime = 700

 

# Default: 350

FastConnectionTime = 350

 

# Default: 50

MaxConnectionPerIP = 50

 

 

# ---------------------------------------------------------------------------

# Database

# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for the database you're using.

# Examples:

# Driver = com.mysql.jdbc.Driver (default)

# Driver = org.hsqldb.jdbcDriver

# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

Driver = com.mysql.jdbc.Driver

# Database URL

# URL = jdbc:mysql://localhost/l2jdb (default)

# URL = jdbc:hsqldb:hsql://localhost/l2jdb

# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =

URL = jdbc:mysql://localhost/l2jdb

# Database user info (default is "root" but it's not recommended)

Login = root

# Database connection password

Password =

 

# Default: 10

MaximumDbConnections = 10

 

# Default: 0

MaximumDbIdleTime = 0

 

 

 

 

Help somebody plz

 

1 answer to this question

Recommended Posts

  • 0
Posted

IPconfig...

<?xml version="1.0" encoding="UTF-8"?>

<!-- Put old contents of ExternalHostname here, used by default -->

<gameserver address="127.0.0.1">  > Change  this with your external ip

  <!-- Localhost access -->

  <define subnet="127.0.0.0/8" address="127.0.0.1" />

  <!-- LAN's, put old contents of InternalHostname here -->

  <define subnet="10.0.0.0/8" address="10.0.0.0" />

  <define subnet="172.16.0.0/19" address="172.16.0.0" />

  <define subnet="192.168.0.0/16" address="192.168.0.0" />

</gameserver>

 

 

Server.propties

# ---------------------------------------------------------------------------

# 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

#

 

# Where's the Login server this gameserver should connect to

# Default:127.0.0.1

LoginHost = 192.168.1.64 >change it to 127.0.0.1

 

# TCP port the login server listen to for gameserver connection requests

# Default: 9014

LoginPort = 9014

 

# Bind address for gameserver. You should not need to change it in most cases.

# Default: * (0.0.0.0)

GameserverHostname = *

 

# Default: 7777

GameserverPort = 7777

 

 

# ---------------------------------------------------------------------------

# Database

# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for the database you're using.

# Examples:

# Driver = com.mysql.jdbc.Driver (default)

# Driver = org.hsqldb.jdbcDriver

# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

Driver = com.mysql.jdbc.Driver

# Database URL

# URL = jdbc:mysql://localhost/l2jdb (default)

# URL = jdbc:hsqldb:hsql://localhost/l2jdb

# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =

URL = jdbc:mysql://localhost/l2jdb

# Database user info (default is "root" but it's not recommended)

Login = root

# Database connection password

Password =

 

# Default: 100

MaximumDbConnections = 100

 

# Default: 0

MaximumDbIdleTime = 0

 

 

 

And login.properties

 

 

# 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 = 192.168.1.64 > change it to  *

# 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

 

 

# ---------------------------------------------------------------------------

# Security

# ---------------------------------------------------------------------------

# Default: True

LogLoginController = True

 

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

# Default: 10

LoginTryBeforeBan = 10

 

# Time you won't be able to login back again after LoginTryBeforeBan tries to login.

# Default: 600 (10 minutes)

LoginBlockAfterBan = 600

 

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

# Default: False

AcceptNewGameServer = False

 

# Enforce GameGuard authorization from client?

# If True, login server will kick client if the client bypassed GameGuard authentication.

# Default: False

ForceGGAuth = False

 

# Flood Protection. All values are in MILISECONDS.

# Default: True

EnableFloodProtection = True

 

# Default: 15

FastConnectionLimit = 15

 

# Default: 700

NormalConnectionTime = 700

 

# Default: 350

FastConnectionTime = 350

 

# Default: 50

MaxConnectionPerIP = 50

 

 

# ---------------------------------------------------------------------------

# Database

# ---------------------------------------------------------------------------

# Specify the appropriate driver and url for the database you're using.

# Examples:

# Driver = com.mysql.jdbc.Driver (default)

# Driver = org.hsqldb.jdbcDriver

# Driver = com.microsoft.sqlserver.jdbc.SQLServerDriver

Driver = com.mysql.jdbc.Driver

# Database URL

# URL = jdbc:mysql://localhost/l2jdb (default)

# URL = jdbc:hsqldb:hsql://localhost/l2jdb

# URL = jdbc:sqlserver://localhost/database = l2jdb/user = sa/password =

URL = jdbc:mysql://localhost/l2jdb

# Database user info (default is "root" but it's not recommended)

Login = root

# Database connection password

Password =

 

# Default: 10

MaximumDbConnections = 10

 

# Default: 0

MaximumDbIdleTime = 0

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...