Re: [GUIDE]Making a Kamael Server on Windows [Step-By-Step]
Question:
How can I make the server accesible (to be played on) by ALL Local, LAN, and WAN? How does the Server Config File have to look like?
[Meaning: Playing L2 on the same pc as Server (Local), Playing on the same network as Server (LAN 192.168.x.x) and From remote (WAN)]
It stumped me, I want it to be able to do them all at once [Local, LAN, and WAN]
-Rozandas
Set your login config up like this
# Bind ip of the loginserver, use 0.0.0.0 to bind on all available IPs
LoginServerHostname=0.0.0.0
LoginServerPort=2106
GMMinLevel=100
# The port, ip on which login will listen for GameServers
LoginHostname=127.0.0.1
LoginPort=9014
this should allow it to connect to whatever the server is set at
and the server config with the IP like this
# Bind ip of the gameserver, use 0.0.0.0 to bind on all available IPs
GameserverHostname=0.0.0.0 >USE THE 0.0.0.0 IT DETECTS WHATEVER ONE IS NEEDED<
GameserverPort=7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname= >YOUR WAN IP HERE<
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname= >YOUR LAN IP HERE<
# Define internal networks (10.0.0.0/8,192.168.0.0/16 is default internal networks)
InternalNetworks=
# Define optional networks and router IPs
# IP (200.100.200.100) or fully qualified domain name
# (google.com) that resolves to an IP (use ping to determine if a domain resolves).
# Format: ip,net/mask;ip,net/mask,net/mask
# (mask 192.168.0.0/16 or 192.168.0.0/255.255.0.0 would be 192.168.*.*)
# Note: keep InternalNetworks and OptionalNetworks blank for compatibility with older login server
OptionalNetworks=
# The Loginserver host and port
LoginPort=9014
LoginHost=127.0.0.1 >USE LOCALHOST<
this will allow others and yourself to connect.