One thing i want to add is disabling root login, creating a new user with sudo privileges, setting up SSH key authentication and completely disabling password logins and also avoid exposure on port 80 completely. it's much better to manage them directly from your local machine using IP whitelisting on database user or firewall-iptables. This way, only trusted IPs have access. Even better ssh tunnel. Good job though.
I prefer using MyExt64 clean, i`m already finished, only need restart or maintenance for udate in game here. Due webpage not update instant, only change values in sqlserver. But is all working. Not have any option for change instant in game and not require restart?
I set mine up by routing all bot connections through rotating proxies while keeping the real client on the main IP, then just forwarded traffic to the server using a simple port-forwarding script.
Question
cta8ic
kalispera pedes...
exw 1 problem !!! :/ :/ vazw sto l2.ini m tin IP : 127.0.0.1 tpt 192.168.1.2 tpt Tin No-ip m vazw pali tpt...
auto to error m vgazei :@
Config : Game Server
===================================================================================================================================================
# 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? => http://l2jserver.com
#
# * = 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 http://www.whatismyip.com
# ===================================================================================================
# ================================================================
# General server setting !!! REQUIRED to configure to everyone !!!
# ================================================================
# Bind ip of the gameserver, use * to bind on all available IPs
GameserverHostname = *
GameserverPort = 7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
# If this ip is resolvable by Login just leave *
ExternalHostname = l2komotini.no-ip.biz
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
# If this ip is resolvable by Login just leave *
InternalHostname = 192.168.1.2
# The Loginserver host and port
LoginPort = 9014
LoginHost = 127.0.0.1
# This is the server id that the gameserver will request (i.e. 1 is Bartz)
RequestServerID = 1
# If set to True, the login will give an other id to the server if the requested id is allready reserved
AcceptAlternateID = True
# Database info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
# Database Settings
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
# Security Settings
Login = root
Password = < den sas niazei to pass >
MaximumDbConnections = 50
MaximumStateMents = 100
MaxPoolSize = 50
MinPoolSize = 10
AquireIncrement = 1
IdleConnectionTest = 10800
MaxIdleTime = 0
==============================================================================================================================================================
Login Server :
==============================================================================================================================================================
# 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? => http://l2jserver.com
#
# * = 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 http://www.whatismyip.com
# ===================================================================================================
# ================================================================
# 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 = l2komotini.no-ip.biz
# 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.2
# Bind ip of the loginServer, use * to bind on all available IPs
LoginserverHostname = *
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 = 127.0.0.1
# 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 = True
# 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 info
Driver=com.mysql.jdbc.Driver
#Driver=org.hsqldb.jdbcDriver
#Driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
# Database Settings
URL=jdbc:mysql://localhost/l2jdb
#URL=jdbc:hsqldb:hsql://localhost/l2jdb
#URL=jdbc:sqlserver://localhost/database=l2jdb/user=sa/password=
# Security Settings
Login = root
Password =
MaximumDbConnections = 50
MaximumStateMents = 100
MaxPoolSize = 50
MinPoolSize = 10
AquireIncrement = 1
IdleConnectionTest = 10800
MaxIdleTime = 0
15 answers to this question
Recommended Posts