Page 1 of 1

how to configure the login and gameserver after router?

Posted: Tue Apr 06, 2010 10:52 pm
by Shaka
L2J Revision 4049:
L2JDP Revision 7226:

there is a (guide) on how to set login and gameserver after router?

I have already opened the ports and my web 21,443,990,2106,7777,8080,9013,9014 seen externally but not the login and gameserver. : (

Pc ip is 192.168.0.2
The external ip is 186.24.17.1

loginserver.properties

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# ---------------------------------------------------------------------------# 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 http://www.whatismyip.com/. This is if you want people outside your internal network to be able to connect to your server.# ---------------------------------------------------------------------------# Default: 127.0.0.1ExternalHostname = 127.0.0.1 # ---------------------------------------------------------------------------# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.# ---------------------------------------------------------------------------# Default: 127.0.0.1InternalHostname = 127.0.0.1 # ---------------------------------------------------------------------------# If you are behind a router which using its own local IP for Port Forwarding then set this to the routers# local IP if you want people outside your internal network to be able to connect to your server.# ---------------------------------------------------------------------------# RouterHostname =  # Bind ip of the LoginServer, use * to bind on all available IPs# Default: *LoginserverHostname = * # Default: 2106LoginserverPort = 2106 # The address on which login will listen for GameServers, use * to bind on all available IPs# Default: *LoginHostname = * # The port on which login will listen for GameServers# Default: 9014LoginPort = 9014 
server.properties

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# ---------------------------------------------------------------------------# 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 http://www.whatismyip.com/. 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 *.# ---------------------------------------------------------------------------# Default: *ExternalHostname = * # ---------------------------------------------------------------------------# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.# If this IP is resolvable by the Login Server, just leave *.# ---------------------------------------------------------------------------# Default: *InternalHostname = * # Where's the Login server this gameserver should connect to# Default: 127.0.0.1LoginHost = 127.0.0.1 # TCP port the login server listen to for gameserver connection requests# Default: 9014LoginPort = 9014 # Default: *GameserverHostname = * # Default: 7777GameserverPort = 7777 
thanks.

Re: how to configure the login and gameserver after router?

Posted: Tue Apr 06, 2010 10:59 pm
by BiggBoss
loginserver.properties

ExternalHostname = 127.0.0.1

put there your wan ip

Re: how to configure the login and gameserver after router?

Posted: Tue Apr 06, 2010 11:51 pm
by Shaka
BiggBoss wrote:loginserver.properties

ExternalHostname = 127.0.0.1

put there your wan ip
ExternalHostname = 192.168.0.2

so?

Re: how to configure the login and gameserver after router?

Posted: Tue Apr 06, 2010 11:59 pm
by BiggBoss
if ports are opened, wan ip in login config, wan ip resolvable by login config in server config and the host is properly edited, you should be able to enter from external network in the server

Re: how to configure the login and gameserver after router?

Posted: Fri Apr 09, 2010 12:20 am
by doti04
i have the same problem and don't know how to resolve this problem i open ports on route 2106, 7777, 9014.

# Default: 127.0.0.1
ExternalHostname = 89.232.xx.xxx

# ---------------------------------------------------------------------------
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname.
# This can be the internal IP such as 127.0.0.1 or the computer's IP such as 192.168.x.x.
# ---------------------------------------------------------------------------
# Default: 127.0.0.1
InternalHostname = 127.0.0.1

# ---------------------------------------------------------------------------
# If you are behind a router which using its own local IP for Port Forwarding then set this to the routers
# local IP if you want people outside your internal network to be able to connect to your server.
# ---------------------------------------------------------------------------
RouterHostname = 192.168.1.33

# Bind ip of the LoginServer, use * to bind on all available IPs
# Default: *
LoginserverHostname = 89.232.xx.xxx

but when i start login server it gives error, any idea?

Re: how to configure the login and gameserver after router?

Posted: Fri Apr 09, 2010 1:57 pm
by kotk
What's the error?

And is the 89.232.xx.xxx on the actual server?
LoginserverHostname = 89.232.xx.xxx

maybe change that back to *.