EOSERV Forum > EOSERV > Having a problem Port Forwarding
Page: << 1 >>
Having a problem Port Forwarding
Author Message
Post #204129 Having a problem Port Forwarding

Hello, 

I apologize if this is in the wrong part of this forum but i have a question and i need assistance.


So i have a no-ip and portforward utilities that confirm that my port 8078 is forwarded and online; however, I believe that i do not have the correct config files to properly insert the ipaddress and information required for portforwarding. I may be completely incorrect and have the files but here is what i have presently. If you see where i need to just simply edit the correct information please let me know! I am just actually starting with the server, i figured out the mapping and admin functions and have created an account, just need to make it public so my other admins can log in and we can all start collaborating together. I will have more questions later on, to include quests and things of the sort, but i will try to utilize my resources to the best of my ability before requesting assistance. If you have any information as to what i should to do make this possible please message me or comment below. 

[Main Config File]

# The EOSERV config has been split up in to several files in the

# config subdirectory. Please see individual files for more information.

# The config.local.ini file still overrides all other configuration


INCLUDE = ./config/console.ini

INCLUDE = ./config/server.ini

INCLUDE = ./config/database.ini

INCLUDE = ./config/files.ini

INCLUDE = ./config/sln.ini

INCLUDE = ./config/guilds.ini

INCLUDE = ./config/pk.ini

INCLUDE = ./config/npc.ini

INCLUDE = ./config/boards.ini

INCLUDE = ./config/misc.ini

INCLUDE = ./config/rates.ini

INCLUDE = ./config/limits.ini

INCLUDE = ./config/extra.ini


INCLUDE_NOWARN = ./config_local/console.ini

INCLUDE_NOWARN = ./config_local/server.ini

INCLUDE_NOWARN = ./config_local/database.ini

INCLUDE_NOWARN = ./config_local/files.ini

INCLUDE_NOWARN = ./config_local/sln.ini

INCLUDE_NOWARN = ./config_local/guilds.ini

INCLUDE_NOWARN = ./config_local/pk.ini

INCLUDE_NOWARN = ./config_local/npc.ini

INCLUDE_NOWARN = ./config_local/boards.ini

INCLUDE_NOWARN = ./config_local/misc.ini

INCLUDE_NOWARN = ./config_local/rates.ini

INCLUDE_NOWARN = ./config_local/limits.ini

INCLUDE_NOWARN = ./config_local/extra.ini


INCLUDE_NOWARN = ./config.local.ini



[Database config file]

# It is recommended not to edit this file directly, and instead copy the options

# you want to change to a file at config_local/database.ini or config.local.ini

# and keep config/database.ini synchronized with the latest version of EOSERV


# Include sqlite.ini for SQLite or mysql.ini for MySQL defaults

INCLUDE = ./config/database/sqlite.ini


### DATABASE OPTIONS ###


## InstallSQL

# File containing EOSERV's database schema

InstallSQL = ./install.sql


[Server Config File]

# It is recommended not to edit this file directly, and instead copy the options

# you want to change to a file at config_local/server.ini or config.local.ini

# and keep config/server.ini synchronized with the latest version of EOSERV


### SERVER OPTIONS ###


## Host (string)

# The IP address the server should listen on

# 0.0.0.0 = all

Host = 0.0.0.0 [is this where i put my forwarded ipaddress or no-ip hostname???]


## Port (number)

# The port the server should listen on

Port = 8078


## MaxConnections (number)

# The maximum number of connections the server will open

MaxConnections = 300


## ListenBacklog (number)

# The maximum number of half-open connections that can be queued up

ListenBacklog = 50


## MaxPlayers (number)

# The maximum number of players who can be online

MaxPlayers = 200


## MaxConnectionsPerIp (number)

# The maximum numbers of connections one IP address can open

# 0 for unlimited

MaxConnectionsPerIP = 3


## IPReconnectLimit (number)

# Time an IP address must wait between connections

IPReconnectLimit = 10s


## MaxConnectionsPerPC (number)

# The maximum numbers of connections one computer can open (still evadeable)

# 0 for unlimited

MaxConnectionsPerPC = 1


## MaxLoginAttempts (number)

# Maximum number of login attempts before disconnecting

# 0 for unlimited

MaxLoginAttempts = 3


## PasswordSalt (string)

# Enter any large amount of random characters here

# WARNING: Changing this will break any existing users' passwords.

PasswordSalt = 4


## SeoseCompat (string)

# Compatability with Seose2EOSERV converted databases

# WARNING: Changing this will break any existing users' passwords.

SeoseCompat = no


## SeoseCompatKey (string)

# Compatability with Seose2EOSERV converted databases. Should match Seose's PasswordKey option

# Has no effect unless SeoseCompat is enabled

# WARNING: Changing this will break any existing users' passwords.

# '#' characters in this string will be replaced with '£' (0xA3)

SeoseCompatKey = D4q9_f30da%#q02#)8


## CheckVersion (bool)

# Checks the version of the client and rejects them if it's not supported

CheckVersion = yes


## MinVersion (number)

# Minimum version to accept

# Set to 0 to use server's minimum supported version

MinVersion = 0


## MaxVersion (number)

# Maximum version to accept

# Set to at 0 to server's maximum support version, or -1 to enable all

# versions higher than MinVersion

MaxVersion = 0


## OldVersionCompat (bool)

# Enable version 27 compatible protocol when client version is less than 28

OldVersionCompat = yes


## TimedSave (number)

# How often to save all online characters and guilds

# Characters are still saved on logout

# Set to 0 to disable timed saves (not reccommended)

# WARNING: Disabling this can leave your database inconsistent in the case of a crash

TimedSave = 5m


## IgnoreHDID (bool)

# Ignores the HDID in relation to bans and identification

# With this disabled, you should warn your users about logging in to un-trusted servers

# Enabling this makes MaxConnectionsPerPC ineffective

IgnoreHDID = no


## ServerLanguage (string)

# Specifies the language file to use for server -> client string messages

# See the lang directory for a list of supported languages

ServerLanguage = ./lang/en.ini


## PacketQueueMax (number)

# Maximum amount of packets to queue before disconnecting a client if they send more.

PacketQueueMax = 40


## PingRate (number)

# How often to send a ping to connected clients.

# Clients are disconnected if the y fail to respond to the first ping before

# the next is sent.

PingRate = 60s


## EnforceSequence (bool)

# Checks the sequence on packets from the client for correctness

EnforceSequence = yes


## EnforceTimestamps (bool)

# Checks timestamps sent with certain client actions for correctness

EnforceTimestamps = yes


## EnforceSessions (bool)

# Checks session tokens sent with certain client actions for correctness

EnforceSessions = yes


---
"I would rather be in the light looking up to the darkness, than being in the darkness looking up to
the light."
~Tensuki
1 year, 3 weeks ago
Post #204130 Re: Having a problem Port Forwarding

You're looking into the wrong section, that's the "server.ini" files, what you're looking for is sln.

the 0.0.0.0 listen's off the host from your PC / VPS so don't change that, Port: 8078 is default, leave that how it is unless you're looking to change it up to 8077 8079 or whatever port for your choosing.

What you're looking for is sln.ini Just find this.

## SLNHost (string)

# Hostname that resolves to your server

# Leave it blank to use your IP address

SLNHost = thisiswhereitgoes.no-ip.org


## SLNSite (string)

# Website for your server

# Leave it blank if you don't have one

SLNSite = http://mywebsite.com/ 

## ServerName (string)

# Common name of your server

ServerName = Server Name here


These are all examples, you edit those yourself with your no-ip, server name, and website, if you have one.

But if you're using mediafire / mega as a download for a client, use the "SLNSite" as the download link towards the client.

Sorry if this seem's sloppy and you don't understand, it's 2:27am for me, and i'm extremely tired, inbox me if you ever need a hand.

---
Wtf
1 year, 3 weeks ago
Post #204131 Re: Having a problem Port Forwarding

I am still having problems logging into the server after putting all of the information in. I still show that the port is open and that it is working properly, even when the server identifies that there is a client opened up, it still does not allow the client to connect. 

I have my No-ip DUC online and running, i have the EOserv online and running, the client i have fiddled around between the no-ip address and the external ip address that is port forwarded all with no success. 


[SLN File]

# It is recommended not to edit this file directly, and instead copy

# the options you want to change to a file at config_local/sln.ini and

# keep config/sln.ini synchronized with the latest version of EOSERV


### SLN OPTIONS ###


## SLN (bool)

# Enable or disable SLN

# NOTE: This will put your webserver on a publicly viewable list of servers

# This service has been discontinued. Please leave this option disabled.

SLN = no


## SLNURL (string)

# URL of SLN server

SLNURL = https://eoserv.net/SLN/  [[I believe i read somewhere that this is not the correct SLN for eoserv]] [[I have it changed to http://www.apollo-games.com/SLN/sln.php/ ]]


## SLNHost (string)

# Hostname that resolves to your server

# Leave it blank to use your IP address

SLNHost = eobeta.net


## SLNSite (string)

# Website for your server

# Leave it blank if you don't have one

SLNSite = 


## ServerName (string)

# Common name of your server

ServerName = EObeta


## SLNPeriod (number)

# How often your server checks in with the SLN server

# Should be between 5 and 30 minutes

SLNPeriod = 5m


## SLNZone (string)

# Zone your server belongs to (must be approved by zone admin first)

# Leave blank to use the public zone

SLNZone = 


## SLNBind (string)

# Connects to the SLN through a specified IP address

# This is required if you run servers on an address other than your default

# 0 = disabled

# 1 = use listen address (if available)

SLNBind = 0


## BotCharacters (String)

# Mark certain character names as bots

# If you run a bot on your server you MUST list it here if SLN is enabled

# e.g. BotCharacters = arenabot, dressbot

BotCharacters = 



Like i have stated earlier, i have tried to place both the external ip address and the iphost name for the configuration file opening endless and still no resolve. I have placed eobeta.net ((My no-ip hosted domain name)) as the forwarded server, the DUC is active, the port is open and still i have nothing to show for it. understand that i will be turning off all of these services so that it will show offline again after i post this, but i just need a bit more advice on how to resolve this fluidly. 



I am very grateful and appreciative for your guidance and assistance in creating and opening my own server. I realize that this is just the tip of the iceberg and that i have a lot of reading and learning to do in order to get this game up to par with the others that i have seen so amazingly well put together. I know that it is not smart to try to do everything by yourself, but i am doing the best with what i am given and i will not be doing everything on my own forever :)

---
"I would rather be in the light looking up to the darkness, than being in the darkness looking up to
the light."
~Tensuki
1 year, 2 weeks ago
Post #204132 Re: Having a problem Port Forwarding

Look at the model of router you use and Google how to open a port for it. You will want 8078 open unless you have changed that.

1 year, 2 weeks ago
Post #204133 Re: Having a problem Port Forwarding

Apollo,

I have accessed my router via ipconfig -> ip (internet browser) -> Advanced Settings -> Port forward -> 8078 Active and open

No-ip.com/Host and domain/UPC active and configured showing functioning

Canyouseeme.org -> verifies my port is open through my ISP

EOSERV -> Set up as shown above, opens and shows normal start up screen

EOClient -> test.eobeta.net port 8078 -> Open client -> Server does not pick up on EO Client

--> i have also tried using the port forwarded external ip address in the EOClient Config


[Notice]

If you attempt to use right now both the server and the upc are offline; moreover, my server is still just a baby in the womb, i just want to ensure that i can apply some real work and dedication to attempting to do my best on something i have always wanted to experiment with and enjoy doing it. Any and all help is appreciated, i hope  that i am not overcomplicating it. I just wish to have it open for my admins and i to fixate on for a good amount of time developing and researching how to develop using the resources that have been made available. 


Thank you for your time and comments.

---
"I would rather be in the light looking up to the darkness, than being in the darkness looking up to
the light."
~Tensuki
1 year, 2 weeks ago
Post #204134 Re: Having a problem Port Forwarding

Try connecting via your IP rather than domain name. That should identify the problem is with the domain host. Often it takes a while for the domain name to resolve to the IP.

1 year, 2 weeks ago
Post #204135 Re: Having a problem Port Forwarding

Here's what I tend to do for all games / servers that need forwarding, in order of testing -

Test connection to localhost / 127.0.0.1 if possible.

Test connection to internal IP if possible (192.168.*.*).

Test connection to external IP (google for "what's my ip from the server).

Test connection through the DNS (your no-ip).

Depending where it fails in this routine, outlines where any issues may lay.

- If local and internal work fine, but external does not, then it's usually either your port forwarding rule not set up, or mis-configured - but as you noted that the port detector tool shows 8078 as open.

- Next I would check in Windows Firewall, and ensure the exception has also been created / allowed for EOSERV.

- Finally, if none of this works, yet the port still shows as open - it is possible your specific make and model router, has a no-loop-back system (no hair-pinning), this is often when one device within a network, attempts to connect to another device within the same network (or the same device), through the external IP of the router. If said router does not support NAT-Loopback or Hair-pinning, the internal connection will often be blocked by the router if the external IP is used instead of a local address. Basically if the connection and server both originates from the home side of the router, except attempting to use the external internet facing side. This is a common issue on some models.

To know if this is just your own connection being affected, you could have someone else test log in. If they fail too, then at least you can rule that out. If they succeed however, then for your own connections to the server, just connect via localhost / internal.

1 year, 2 weeks ago
Post #204136 Re: Having a problem Port Forwarding

Thank you all for the support and advice. While i was messing around with things i ended up changing the wrong file in the process and deleted the password to my HGM account in the process. I will take everything you have all said into consideration and if i still run into problems then i will let you know the problem resolution that i tried first so that you can help me identify the source of the problems more efficiently. 


I will be trying all of these steps and processes as soon as possible, but i was wondering if there was a forum/post/guide that is most updated so that i am not configuring or altering my server side in anyway that would pose further complications. I have used several while i was starting up the server and i noticed that i may have used some obsolete or outdated start-up guides. If not it is all good i appreciate and am very happy to have been given the advice thus far :)


EDIT: Also i require the link for SQLite so that i can use it to create my database again with these settings: I do not know what happened to my original download for this and now i am unable to restart my server until i can execute these into a database.sdb please point me into the right direction <3 


CREATE TABLE IF NOT EXISTS `accounts`
 (
 `username` VARCHAR(16) NOT NULL,
 `password` CHAR(64) NOT NULL,
 `fullname` VARCHAR(64) NOT NULL,
 `location` VARCHAR(64) NOT NULL,
 `email` VARCHAR(64) NOT NULL,
 `computer` VARCHAR(64) NOT NULL,
 `hdid` CHAR(10) NOT NULL,
 `regip` VARCHAR(15) DEFAULT NULL,
 `lastip` VARCHAR(15) DEFAULT NULL,
 `created` INTEGER NOT NULL,
 `lastused` INTEGER DEFAULT NULL,
 PRIMARY KEY (`username`)
 );

CREATE TABLE IF NOT EXISTS `characters`
 (
 `name` VARCHAR(12) NOT NULL,
 `account` VARCHAR(16) DEFAULT NULL,
 `title` VARCHAR(32) DEFAULT NULL,
 `home` VARCHAR(32) DEFAULT NULL,
 `partner` VARCHAR(16) DEFAULT NULL,
 `admin` INTEGER NOT NULL DEFAULT 0,
 `class` INTEGER NOT NULL DEFAULT 0,
 `gender` INTEGER NOT NULL DEFAULT 0,
 `race` INTEGER NOT NULL DEFAULT 0,
 `hairstyle` INTEGER NOT NULL DEFAULT 0,
 `haircolor` INTEGER NOT NULL DEFAULT 0,
 `map` INTEGER NOT NULL DEFAULT 192,
 `x` INTEGER NOT NULL DEFAULT 7,
 `y` INTEGER NOT NULL DEFAULT 6,
 `direction` INTEGER NOT NULL DEFAULT 2,
 `spawnmap` INTEGER NOT NULL DEFAULT 192,
 `spawnx` INTEGER NOT NULL DEFAULT 7,
 `spawny` INTEGER NOT NULL DEFAULT 6,
 `level` INTEGER NOT NULL DEFAULT 0,
 `exp` INTEGER NOT NULL DEFAULT 0,
 `hp` INTEGER NOT NULL DEFAULT 10,
 `tp` INTEGER NOT NULL DEFAULT 10,
 `str` INTEGER NOT NULL DEFAULT 0,
 `int` INTEGER NOT NULL DEFAULT 0,
 `wis` INTEGER NOT NULL DEFAULT 0,
 `agi` INTEGER NOT NULL DEFAULT 0,
 `con` INTEGER NOT NULL DEFAULT 0,
 `cha` INTEGER NOT NULL DEFAULT 0,
 `statpoints` INTEGER NOT NULL DEFAULT 0,
 `skillpoints` INTEGER NOT NULL DEFAULT 0,
 `karma` INTEGER NOT NULL DEFAULT 1000,
 `sitting` INTEGER NOT NULL DEFAULT 0,
 `bankmax` INTEGER NOT NULL DEFAULT 20,
 `goldbank` INTEGER NOT NULL DEFAULT 0,
 `usage` INTEGER NOT NULL DEFAULT 0,
 `inventory` TEXT NOT NULL,
 `bank` TEXT NOT NULL,
 `paperdoll` TEXT NOT NULL,
 `spells` TEXT NOT NULL,
 `guild` CHAR(3) DEFAULT NULL,
 `guild_rank` INTEGER DEFAULT NULL,
 PRIMARY KEY (`name`)
 );

CREATE TABLE IF NOT EXISTS `guilds`
 (
 `tag` CHAR(3) NOT NULL,
 `name` VARCHAR(32) NOT NULL,
 `description` TEXT NOT NULL,
 `created` INTEGER NOT NULL,
 `ranks` TEXT NOT NULL,
 `bank` INTEGER NOT NULL DEFAULT 0,
 PRIMARY KEY (`tag`),
 UNIQUE (`name`)

  );

CREATE INDEX `character_account_index` ON `characters` (`account`
 );

CREATE INDEX `character_guild_index` ON `characters` (`guild`
 );
---
"I would rather be in the light looking up to the darkness, than being in the darkness looking up to
the light."
~Tensuki
1 year, 2 weeks ago
Page: << 1 >>

EOSERV Forum > EOSERV > Having a problem Port Forwarding