WAN Connection
Posted: Wed Apr 23, 2014 1:43 pm
L2J Revision Number: 6502
L2JDP Revision Number: 10284
hi, i'm newbie with l2j and after a month i can run and connect to my server localy but form internet no one can.
this is my situation:
SERVER
ubuntu server 12.10 working only in terminal mode, here i run mysql, apache, php and l2j and the ip is static 192.168.100.4
- L2J 6502
- L2JDP 10284
- i can't find ipconfig.xml
my Server.properties is
and my LoginServer.properties is
CLIENT 1
windows 7 ultimate with client h5 work ok, ip 192.168.100.5
CLIENT 2
windows XP SP3 with client h5 work ok, ip 192.168.100.11
CLIENT 3
windows XP SP3 with client h5 work ok, ip 192.168.100.12
ROUTER
ip is 192.168.100.1, its a pc with http://www.zeroshell.org/ as OS and configured virtual server:
ETH01 / ANY TCP/UDP 2106 192.168.100.4:2106
ETH01 / ANY TCP/UDP 7777 192.168.100.4:7777
ETH01 is wan ethernet and ETH00 is the lan ethernet
also its configured no-ip service and i tested with ftp, ssh and web and its working fine
the connection between server and client 1, 2 and 3 its ok but when my friends try to connect from outside they login and stuck in server selection screen, they click confirm button but nothing happend. t read every post with similar problem but i can't find a solution.
i make ipconfig.xml with notepad ++ and work ok but still connection form internet is not possible so i deleted the file, check if ports are open and its everything ok
the log files are:
login stdout:
gameserver stdout.log:
i check 2014-04-23-loginlog.txt:
checking accounting.log
i don't know what else check or configure
i think its a ip configuration but i have no idea where is the problem, i rely be thankfull if any one can tell me what to do.
i'm sorry for my english
, i'm form argentina
L2JDP Revision Number: 10284
hi, i'm newbie with l2j and after a month i can run and connect to my server localy but form internet no one can.
this is my situation:
SERVER
ubuntu server 12.10 working only in terminal mode, here i run mysql, apache, php and l2j and the ip is static 192.168.100.4
- L2J 6502
- L2JDP 10284
- i can't find ipconfig.xml
my Server.properties is
Code: Select all
# ---------------------------------------------------------------------------# 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# --------------------------------------------------------------------------- # Enables automatic port mapping for game server.# If you have a router game server will request for port forwarding.# Default: TrueEnableUPnP = True # Where's the Login server this gameserver should connect to# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: 127.0.0.1LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests# Default: 9014LoginPort = 9014 # Bind address for gameserver. You should not need to change it in most cases.# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)GameserverHostname = * # Default: 7777GameserverPort = 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.SQLServerDriverDriver = com.mysql.jdbc.Driver # Database URL# URL = jdbc:mysql://localhost/l2jgs (default)# URL = jdbc:hsqldb:hsql://localhost/l2jgs# URL = jdbc:sqlserver://localhost/database = l2jgs/user = sa/password =URL = jdbc:mysql://localhost/l2jgs # Database user info (default is "root" but it's not recommended)Login = root # Database connection passwordPassword = # Default: 100MaximumDbConnections = 100 # Default: 0MaximumDbIdleTime = 0 # ---------------------------------------------------------------------------# Misc Server Settings# --------------------------------------------------------------------------- # This is the server ID that the Game Server will request.# Example: 1 = Bartz# Default: 1RequestServerID = 1 # True = The Login Server will give an other ID to the server if the requested ID is already reserved.# Default: TrueAcceptAlternateID = True # Datapack root directory.# Defaults to current directory from which the server is started unless the below line is uncommented.# WARNING: <u><b><font color="red">If the specified path is invalid, it will lead to multiple errors!</font></b></u>#Default: .DatapackRoot = . # Define how many players are allowed to play simultaneously on your server.# Default: 100MaximumOnlineUsers = 100 # Numbers of protocol revisions that server allows to connect.# Delimiter is ;# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u># Default: 267;268;271;273AllowedProtocolRevisions = 267;268;271;273 # ---------------------------------------------------------------------------# Misc Player Settings# --------------------------------------------------------------------------- # Character name template.# Examples:# CnameTemplate = [A-Z][a-z]{3,3}[A-Za-z0-9]*# The above setting will allow names with first capital letter, next three small letters,# and any letter (case insensitive) or number, like OmfgWTF1# CnameTemplate = [A-Z][a-z]*# The above setting will allow names only of letters with first one capital, like Omfgwtf# Default .* (allows any symbol)CnameTemplate = .* # This setting restricts names players can give to their pets.# See CnameTemplate for detailsPetNameTemplate = .* # This setting restricts clan/subpledge names players can set.# See CnameTemplate for detailsClanNameTemplate = .* # Maximum number of characters per account.# Default: 7 (client limit)CharMaxNumber = 7
Code: Select all
# ---------------------------------------------------------------------------# Login 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# --------------------------------------------------------------------------- # Enables automatic port mapping for login server.# If you have a router login server will request for port forwarding.# Default: TrueEnableUPnP = True # Bind ip of the LoginServer, use * to bind on all available IPs# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: * (0.0.0.0)LoginserverHostname = * # Default: 2106LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs# WARNING: <u><b><font color="red">Please don't change default IPs here if you don't know what are you doing!</font></b></u># WARNING: <u><b><font color="red">External/Internal IPs are now inside "ipconfig.xml" file.</font></b></u># Default: 127.0.0.1LoginHostname = 127.0.0.1 # The port on which login will listen for GameServers# Default: 9014LoginPort = 9014 # ---------------------------------------------------------------------------# Security# --------------------------------------------------------------------------- # Logs in file the login server events.# Default: TrueLogLoginController = True # How many times you can provide an invalid account/pass before the IP gets banned.# Default: 5LoginTryBeforeBan = 5 # Time you won't be able to login back again after LoginTryBeforeBan tries to login.# Default: 900 (15 minutes)LoginBlockAfterBan = 900 # If set to True any GameServer can register on your login's free slots# Default: TrueAcceptNewGameServer = True # Flood Protection. All values are in MILISECONDS.# Default: TrueEnableFloodProtection = True # Default: 15FastConnectionLimit = 15 # Default: 700NormalConnectionTime = 700 # Default: 350FastConnectionTime = 350 # Default: 50MaxConnectionPerIP = 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.SQLServerDriverDriver = com.mysql.jdbc.Driver # Database URL# URL = jdbc:mysql://localhost/l2jls (default)# URL = jdbc:hsqldb:hsql://localhost/l2jls# URL = jdbc:sqlserver://localhost/database = l2jls/user = sa/password =URL = jdbc:mysql://localhost/l2jls # Database user info (default is "root" but it's not recommended)Login = root # Database connection passwordPassword = # Default: 10MaximumDbConnections = 10 # Default: 0MaximumDbIdleTime = 0 # Connection close time.# Default: 60000ConnectionCloseTime = 60000 # ---------------------------------------------------------------------------# Misc.# --------------------------------------------------------------------------- # If False, the license (after the login) will not be shown.# Default: TrueShowLicence = False # Default: TrueAutoCreateAccounts = True # Datapack root directory.# Defaults to current directory from which the server is started.DatapackRoot = . # ---------------------------------------------------------------------------# Developer Settings# --------------------------------------------------------------------------- # Default: FalseDebug = False # ---------------------------------------------------------------------------# Restart LS every 24 hours?# --------------------------------------------------------------------------- # Enable disable scheduled login restart.# Default: FalseLoginRestartSchedule = False # Time in hours.# Default: 24LoginRestartTime = 24
windows 7 ultimate with client h5 work ok, ip 192.168.100.5
CLIENT 2
windows XP SP3 with client h5 work ok, ip 192.168.100.11
CLIENT 3
windows XP SP3 with client h5 work ok, ip 192.168.100.12
ROUTER
ip is 192.168.100.1, its a pc with http://www.zeroshell.org/ as OS and configured virtual server:
ETH01 / ANY TCP/UDP 2106 192.168.100.4:2106
ETH01 / ANY TCP/UDP 7777 192.168.100.4:7777
ETH01 is wan ethernet and ETH00 is the lan ethernet
also its configured no-ip service and i tested with ftp, ssh and web and its working fine
the connection between server and client 1, 2 and 3 its ok but when my friends try to connect from outside they login and stuck in server selection screen, they click confirm button but nothing happend. t read every post with similar problem but i can't find a solution.
i make ipconfig.xml with notepad ++ and work ok but still connection form internet is not possible so i deleted the file, check if ports are open and its everything ok
the log files are:
login stdout:
Code: Select all
[23 abr 0:36:56] Loading LoginController...[23 abr 0:36:59] Cached 10 KeyPairs for RSA communication[23 abr 0:36:59] Stored 20 keys for Blowfish communication[23 abr 0:36:59] GameServerTable: Loaded 127 server names[23 abr 0:36:59] GameServerTable: Loaded 1 registered Game Servers[23 abr 0:36:59] GameServerTable: Cached 10 RSA keys for Game Server communication.[23 abr 0:36:59] Loaded 2 IP Bans.[23 abr 0:36:59] Listening for GameServers on 127.0.0.1:9014[23 abr 0:36:59] Telnet server is currently disabled.[23 abr 0:36:59] L2LoginServer: is now listening on: *:2106[23 abr 0:36:59] Looking for UPnP Gateway Devices...[23 abr 0:37:08] No UPnP gateways found[23 abr 0:39:32] Updated Gameserver [1] Bartz IP's:[23 abr 0:39:32] 192.168.100.4/192.168.100.0/24[23 abr 0:39:32] 201.231.127.154/0.0.0.0/0
Code: Select all
[23 abr 0:37:33] Network Config: ipconfig.xml doesn't exists using automatic configuration...[23 abr 0:37:34] Network Config: Adding new subnet: 192.168.100.0/24 address: 192.168.100.4[23 abr 0:37:34] Network Config: Adding new subnet: 0.0.0.0/0 address: 201.231.127.154[23 abr 0:37:34] [SkillDurationList]: invalid config property -> SkillDurationList "1365"[23 abr 0:37:34] [L2JMods.properties] Invalid value specified for key: WeddingDivorceCosts specified value: 25000000000 should be "int" using default value: 20[23 abr 0:37:34] Loaded 6 Filter Words.[23 abr 0:37:34] ------------------------------------------------=[ Database ][23 abr 0:37:35] GameServer: L2J Server Version: 6502[23 abr 0:37:35] GameServer: L2J Datapack Version: 10284[23 abr 0:37:35] Updated characters online status.[23 abr 0:37:35] Cleaned up invalid Weddings.[23 abr 0:37:35] Cleaned 0 elements from database in 0 s[23 abr 0:37:35] Cleaned 0 expired timestamps from database.[23 abr 0:37:35] BitSetIDFactory: 102912 id's available.[23 abr 0:37:35] -------------------------------------------------=[ Engines ][23 abr 0:37:36] Script Engine: jython 2.2.1 - Language: python - Language Version: 2.2.1[23 abr 0:37:36] Script Engine: java 1.7 - Language: java - Language Version: 1.7[23 abr 0:37:36] Script Engine: Rhino Rhino 1.7 release 3 2012 05 18 - Language: ECMAScript - Language Version: 1.7[23 abr 0:37:36] ---------------------------------------------------=[ World ][23 abr 0:37:36] GameTimeController: Started.[23 abr 0:37:36] InstanceManager: Multiverse Instance created.[23 abr 0:37:36] InstanceManager: Universe Instance created.[23 abr 0:37:36] InstanceManager: Loaded 160 instance names.[23 abr 0:37:36] L2World: (128 by 136) World Region Grid set up.[23 abr 0:37:37] MapRegionManager: Loaded 57 map regions.[23 abr 0:37:37] GlobalVariablesManager: Loaded 5 variables.[23 abr 0:37:37] ----------------------------------------------------=[ Data ][23 abr 0:37:37] CategoryData: Loaded 124 Categories.[23 abr 0:37:37] SecondaryAuthData: Loaded 328 forbidden passwords.... MORE TEXT ...[23 abr 0:39:32] GameServer: Started, free memory 762 Mb of 1484 Mb[23 abr 0:39:32] Connecting to login on 127.0.0.1:9014[23 abr 0:39:32] CommunityServerThread: Deactivated by config.[23 abr 0:39:32] Registered on login as Server 1 : Bartz[23 abr 0:39:32] GameServer: is now listening on: *:7777[23 abr 0:39:32] GameServer: Maximum numbers of connected players: 100[23 abr 0:39:32] GameServer: Server loaded in 117 seconds.[23 abr 0:39:32] ----------------------------------------------------=[ UPnP ][23 abr 0:39:32] Looking for UPnP Gateway Devices...[23 abr 0:39:41] No UPnP gateways found[23 abr 0:39:41] AutoAnnoucements: Loaded 0 Auto Annoucement Data.[23 abr 0:39:41] GameServer: Telnet server is currently disabled.[23 abr 0:47:50] GlobalVariablesManager: Stored 5 variables.[23 abr 1:00:00] DayNightSpawnManager: Removed 601 night creatures[23 abr 1:00:00] DayNightSpawnManager: Spawned 232 day creatures[23 abr 1:00:00] DayNightSpawnManager: Deleting Hellman raidboss[23 abr 1:09:30] SevenSigns: Data updated successfully.... MORE TEXT ...
Code: Select all
[14.04.23 0:59:56] 'mikiztly' 192.168.100.5 - OK : LoginOk --> client 1[14.04.23 1:13:59] 'mikiztly' 192.168.100.5 - OK : LoginOk --> client 1[14.04.23 10:06:36] 'diego' 192.168.100.1 - OK : LoginOk --> router ip, i suppose is an external connection
Code: Select all
[23 abr 1:14:04] Logged in, Moradin(268483847) mikiztly 192.168.100.5 --> client 1[23 abr 1:42:45] Disconnected, Moradin(268483847) mikiztly 192.168.100.5 --> client 1


i think its a ip configuration but i have no idea where is the problem, i rely be thankfull if any one can tell me what to do.
i'm sorry for my english
