OpenArena Message Boards

OpenArena => Multiplayer => Topic started by: PWNAGE on May 25, 2010, 04:39:46 AM



Title: How do i make a server?
Post by: PWNAGE on May 25, 2010, 04:39:46 AM
How do i make an online server? that's basically all I'm asking
Thanks  ;)


Title: Re: How do i make a server?
Post by: Cacatoes on May 25, 2010, 07:39:13 AM
Not so easy if you're a total beginner for this.

(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers#Server_Setup

Running Linux eases a bit the job.


Title: Re: How do i make a server?
Post by: RMF on May 25, 2010, 10:34:59 AM
hm well to answer your question directly (for windows): forward the port 27960, run oa_ded with +set dedicated 2, then run some map (map oasago2) and it should be up


Title: Re: How do i make a server?
Post by: Gig on May 25, 2010, 01:40:28 PM
Port 27960 UDP, right?

Off topic: what's the outgoing port when connecting to the master server?
Off topic 2: what's the difference between \dedicated 1 and \dedicated 2? (And are there more values -not counting 0-?)

PS: to PWNAGE, some other info DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Manual/Multiplayer]here (http://([b).


Title: Re: How do i make a server?
Post by: Cacatoes on May 25, 2010, 03:10:47 PM
@Gig, sometimes you can find these infos yourself, searching the web or this forum.

  * 27960 UDP, right.
  * Outgoing port is 27950 UDP.
  * Been talked about in some forum posts, IIRC dedicated 1 has no effect and acts like dedicated 2.


Title: Re: How do i make a server?
Post by: sago007 on May 25, 2010, 03:17:56 PM
With the 0.8.5+ binary dedicated 1 and 2 are different again 1=LAN only (no broadcast to master server), 2=Internet (broadcast to master server)


Title: Re: How do i make a server?
Post by: PWNAGE on May 25, 2010, 11:11:20 PM
Do i need to pay for anything?


Title: Re: How do i make a server?
Post by: RMF on May 26, 2010, 12:07:28 AM
lol nope that's the whole good thing about OA. It's opensource and completely free!


Title: Re: How do i make a server?
Post by: Gig on May 26, 2010, 01:17:11 AM
@Gig, sometimes you can find these infos yourself, searching the web or this forum.
Well, you merit an explanation: I'm spending days and nights of my life to improve OpenArena manual on the Wiki site (that still lacks of many informations), so every little help from other users here is very appreciated. For example, tonight I wrote DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/ModCompat/Unlagged_Rocket_Rail]this page (http://([b), and updated a little DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Manual/Multiplayer]this one (http://([b), and it took me much time. More time I spend searching around the web for informations, less time I have to update the wiki site. Players more experienced than me can answer these simple questions in few seconds, then I can use them to update the site. And who, other than the project developers, may know better OpenArena, its features and its differences with Quake 3?


Title: Re: How do i make a server?
Post by: PWNAGE on May 26, 2010, 02:48:52 AM
LOL I'm not the smartest  ??? so does someone want to help me my doing a step by step instruction on how to make a server
e.g. like Step1: open oa_ded or something
thanks

ALL Help is Appreciated


Title: Re: How do i make a server?
Post by: Cacatoes on May 26, 2010, 06:03:52 AM
@Gig,
For efficiency sake, hehe, I understand. Of course I'm not accusing you of being lazy. It's just usually on a forum you try to avoid redundancy, so that one post remains the reference on a particular subject, that's why we use post-its, and that's why we link to previous threads. At least that's what I try to do on forums I administrate, but not every forum (this one) may follow that logic.
The point also is, if you don't make these searches yourself, then it is likely someone else will make them instead of you, we can forget things too, in particular when they are precise technical points.
Also, a wiki works on a voluntary basis, and we're all aware of its existence, but if we don't participate it's likely because we don't have the will, whereas on a forum it's hard not to answer to an open question, even on not so important matters like "what do you think about that wiki page ?". Seems forums are not so talkative and try to remain efficient too ;).

Quote
LOL I'm not the smartest
That's what I was fearing :D
I'll try to answer anyway:

1) Create some shortcut to oa_ded.exe (right click on it)
2) Edit the Target line of this shortcut.
3) Make it look like "C:\...\oa_ded.exe" +set dedicated 2 +map oasago2, and press OK.
4) Run the shortcut, you're done, normally the server started.
5) Now it's time to play, start the game, and try to connect to the server locally (open console in game ESC+SHIFT, then /connect 127.0.0.1) or remotely, your server may appear in the server list (optionally, add +set sv_hostname THE_NAME_YOU_WANT to the shortcut.) by /connect your.internet.IP.address.


Title: Re: How do i make a server?
Post by: Logan on May 26, 2010, 06:14:03 AM
Google everything you don't know. I bet there are a lot of server setup guides out there if you look.


Title: Re: How do i make a server?
Post by: Gig on May 26, 2010, 06:51:58 AM
"what do you think about that wiki page ?".
I do similar questions, sometimes, after I create new pages, since I do my best when I do it, but I don't know anything and I don't want to give erroneous informations to readers. I didn't start pages like "funny screenshots here"... I'm only trying to help people (and contribute to OpenArena even if not being a mapper/modeler/coder), and I hoped someone wanted to help me...


Title: Re: How do i make a server?
Post by: Cacatoes on May 26, 2010, 07:19:05 AM
It's the principle of a wiki: the infos on it is not always correct, can be inadequate, and people can correct it. Readers are also meant to know that and to take their precautions, if they notice some mistakes they will correct it. You don't have to make it perfect since the start, it's collaborative by nature.
Hmm, I didn't want to be harsh and I don't think "only serious topics have their place here". I'm exactly like you: I'm not a developer/maper/modeler, that's why I talk so much :D


Title: Re: How do i make a server?
Post by: Gig on May 26, 2010, 08:03:37 AM
Peace and love! :)  ;)


Title: Re: How do i make a server?
Post by: PWNAGE on May 27, 2010, 04:38:21 AM
when i make the target C:\...\oa_ded.exe and press ok it says its not valid
the target is currently "C:\Program Files\Open Arena\oa081\openarena-0.8.1\oa_ded.exe"

also where do i add the +set dedicated stuff? is that when i open oa_ded.exe or what?


Title: Re: How do i make a server?
Post by: Gig on May 27, 2010, 04:49:55 AM
"C:\...\" was only an example.
Applying the path you told here on the command line provided by Cacatoes (http://openarena.ws/board/index.php?topic=3737.msg32252#msg32252), the target of your shortcut should be:

"C:\Program Files\Open Arena\oa081\openarena-0.8.1\oa_ded.exe" +set dedicated 2 +map oasago2 +set sv_hostname PWONAGEs_OA_Server
that means: "launch OpenArena dedicated server, make it visible to master server, and load map "osago2", and call this server "POWNAGEs_OA_Server".


Title: Re: How do i make a server?
Post by: PWNAGE on May 27, 2010, 05:32:18 AM
how will i know if its working?


Title: Re: How do i make a server?
Post by: Cacatoes on May 27, 2010, 06:24:18 AM
You can check with CTRL ALT SUPPR and Task Manager if it's running.
You can try to connect to it.
Good luck.


Title: Re: How do i make a server?
Post by: Gig on May 27, 2010, 07:01:28 AM
how will i know if its working?
You should see the console (and be able to input commands to change map, etc.). Of course you can try to connect (also from your own machine, launching openarena, if your want, but if you want to be sure that it is reachable from internet, ask a friend of yours to connect).


Title: Re: How do i make a server?
Post by: PWNAGE on May 28, 2010, 02:57:13 AM
Ok do i have this straight?

1) open oa_ded.exe
2) in oa_ded (command prompt thing) i type the following commands
    a) +set dedicated 2 and press enter
    b) +map oasago2 and press enter
    c) +set sv_hostname PWNAGEs_server and press enter

3) Now assuming that its all working according to what i understood from the posts i now can open openarena.exe and select "Multiplayer" and my server SHOULD be on the list?

Thanks :)


Title: Re: How do i make a server?
Post by: Gig on May 28, 2010, 03:56:23 AM
Correction: "+" is used from Windows command prompt ("<your OA path>\oa_ded.exe" +set variable1 value1 +set variable2 value2 +command1 value3).
If you directly started oa_ded.exe, you just have to type something similar to (obviously use the commands you need!):
variable1 value1 [ENTER]
variabe2 value2 [ENTER]
command1 value3 [ENTER]

Operating system command prompt (console, terminal, call it as you wish) is different from openarena command console.

Recap:
"+" is used for additional options when launching the program from your operating system command line
"\" is used from OpenArena main program command console
no special character before command is used in dedicated server command console.

PS: for a more complex server setup, you could create a configuration file, using the example config you can find DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Servers#Server_config_example]here (http://([b).


Title: Re: How do i make a server?
Post by: PWNAGE on May 28, 2010, 04:15:06 AM
ok now i think its all working but when i goto Multipalyer in OA my server isnt there

EDIT: Do i need a cfg? or what


Title: Re: How do i make a server?
Post by: Graion Dilach on May 28, 2010, 04:53:26 AM
A .bat.

If you create an ANSI txt with Notepad, then rename the extension, it'll work.


Title: Re: How do i make a server?
Post by: Cacatoes on May 28, 2010, 05:27:47 AM
What if you check the "Local" servers ? (in multiplayer).

Can you connect to your server and play by any mean ?


Title: Re: How do i make a server?
Post by: Gig on May 28, 2010, 05:41:54 AM
EDIT: Do i need a cfg? or what

It should work also without a config file.... it should help you to set various options you may want (for example, preparing a map list that automatically changes map, setting timelimit and fraglimit, etc.)

PS: I fixed the hyperlink in my previous post, it was wrong.

If you are on the same machine as the server, you can connect to it even using \connect 127.0.0.1, but only from your machine you can point to that address (127.0.0.1 is called "loopback address" and means "local (same) machine").

I don't know why your server isn't published on master server, maybe it is a firewall problem: before searching it on master server, probably you should check if someone else can connect to it directly, using \connect command (or "specify" option in menu).
If you hold your server up and give your external IP address to us, we could make a try....

Another thing: using oa_ded.exe instead of openarena.exe, "dedicated" value is "read only" (I don't know why they did so): you cannot set it from the OA's console, but you must set it from the OS' command line when you launch the program ("oa_ded.exe" +set dedicated 2)... otherwise it will be set to 1 and your server will not be broadcasted to the master server.


Title: Re: How do i make a server?
Post by: PWNAGE on May 29, 2010, 03:08:18 AM
What if you check the "Local" servers ? (in multiplayer).

Can you connect to your server and play by any mean ?

Nope :( it doesn't show up
The first time i ran OA it asked to "Keep Blocking" or "Unblock" something but i pressed "Unblock"

Edit: This is the target in the shortcut ("C:\Program Files\Open Arena\oa081\openarena-0.8.1\oa_ded.exe" +set dedicated 2 +map oasago2 +set sv_hostname pwnage0.8.5)

This is what comes up in the console (Command Prompt)
Quote
ioq3+oa 1.36_SVN1759M win_mingw-x86 Jan  3 2010
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Owner\Application Data\OpenArena/baseoa
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\tabd2map01.pk3 (154 fil
es)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\spkdm1.pk3 (101 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\Qydm6.pk3 (13 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\q3map-moses_dm7.pk3 (10
5 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak6-patch085.pk3 (559
files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak6-misc.pk3 (229 file
s)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak5-TA.pk3 (139 files)

C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak4-textures.pk3 (1753
 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak2-players.pk3 (669 f
iles)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak2-players-mature.pk3
 (231 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak1-maps.pk3 (100 file
s)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak0.pk3 (1042 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\map-acid3dm9.pk3 (41 fi
les)
C:\Program Files\Open Arena\oa081\openarena-0.8.1/baseoa

----------------------
5136 files in pk3 files
execing default.cfg
execing q3config_server.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Winsock Initialized
Hostname: 46e83c3ed2984f6
IP: 10.192.62.149
Opening IP socket: 0.0.0.0:27960
------ Server Initialization ------
Server: oasago2
Hunk_Clear: reset the hunk ok
----- FS_Startup -----
Current search path:
C:\Documents and Settings\Owner\Application Data\OpenArena/baseoa
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\tabd2map01.pk3 (154 fil
es)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\spkdm1.pk3 (101 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\Qydm6.pk3 (13 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\q3map-moses_dm7.pk3 (10
5 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak6-patch085.pk3 (559
files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak6-misc.pk3 (229 file
s)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak5-TA.pk3 (139 files)

C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak4-textures.pk3 (1753
 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak2-players.pk3 (669 f
iles)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak2-players-mature.pk3
 (231 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak1-maps.pk3 (100 file
s)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\pak0.pk3 (1042 files)
C:\Program Files\Open Arena\oa081\openarena-0.8.1\baseoa\map-acid3dm9.pk3 (41 fi
les)
C:\Program Files\Open Arena\oa081\openarena-0.8.1/baseoa

----------------------
5136 files in pk3 files
Loading vm file vm/qagame.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 1564 jump table targets
VM file qagame compiled to 1745067 bytes of code
qagame loaded in 3000544 bytes on the hunk
------- Game Initialization -------
gamename: baseoa
gamedate: Jan  3 2010
------------------------------------------------------------
InitGame: \sv_hostname\pwnage0.8.5\sv_floodProtect\1\sv_maxPing\0\sv_minPing\0\s
v_maxRate\0\sv_minRate\0\dmflags\0\fraglimit\25\timelimit\0\sv_maxclients\8\g_ma
xGameClients\0\videoflags\7\capturelimit\5\g_doWarmup\0\g_allowVote\1\g_voteGame
types\/0/1/3/4/5/6/7/8/9/10/11/12/\g_voteMaxTimelimit\0\g_voteMinTimelimit\0\g_v
oteMaxFraglimit\0\g_voteMinFraglimit\0\g_delagHitscan\0\elimination_roundtime\12
0\g_lms_mode\0\version\ioq3+oa 1.36_SVN1759M win_mingw-x86 Jan  3 2010\g_gametyp
e\0\protocol\71\mapname\oasago2\sv_privateClients\0\sv_allowDownload\0\gamename\
baseoa\elimflags\0\voteflags\0\g_needpass\0\g_obeliskRespawnDelay\10\g_enableDus
t\0\g_enableBreath\0\g_rockets\0\g_instantgib\0\g_altExcellent\0
Info: ServerInfo length: 694 of 1024
^3!readconfig: ^7could not open admin config file admin.dat
Sprees/Kills: loaded 1 killing sprees, 0 death sprees, and 0 multikills.
0 teams with 0 entities
16 items registered
-----------------------------------
------- BotLib Initialization -------
loaded weapons.c
loaded items.c
loaded syn.c
loaded rnd.c
loaded match.c
loaded rchat.c
------------ Map Loading ------------
trying to load maps/oasago2.aas
loaded maps/oasago2.aas
found 80 level items
-------------------------------------
24 bots parsed
57 arenas parsed
AAS initialized.
-----------------------------------
Hitch warning: 1125 msec frame time
Resolving dpmaster.deathmask.net (IPv4)
dpmaster.deathmask.net resolved to 64.22.107.125:27950
Sending heartbeat to dpmaster.deathmask.net
Hitch warning: 922 msec frame time
Hitch warning: 906 msec frame time
Hitch warning: 2375 msec frame time
Hitch warning: 875 msec frame time
Hitch warning: 4421 msec frame time


Is there something wrong?


Title: Re: How do i make a server?
Post by: Cacatoes on May 29, 2010, 03:40:40 AM
Seems it runs well.

What if you run the game, and type:
Code:
/connect 10.192.62.149

Your server should be listed within dpmaster when it's running ( http://dpmaster.deathmask.net/?game=openarena )


Title: Re: How do i make a server?
Post by: PWNAGE on May 29, 2010, 03:46:15 AM
It worked when i did that but just to see what happened i added it to my favourites and when i left the server and went to "Multiplayer > Favourites" My one says "No Response" but all my other favourites are there

Edit: It isnt on http://dpmaster.deathmask.net/?game=openarena&sort=name either

Edit 2: BTW i change my IP every day so don't try and connect to the IP shown because it would have changed  :)


Title: Re: How do i make a server?
Post by: RMF on May 29, 2010, 07:01:25 AM
On multiplayer you can only see your server in 'local'.
Try http://dpmaster.deathmask.net/?game=openarena&server=YOURIP (=external IP - whatismyip.com). Else we'll need to know what router you have to forward the ports.


Title: Re: How do i make a server?
Post by: Gig on May 29, 2010, 07:16:06 AM
On multiplayer you can only see your server in 'local'.
Do you mean that the "Internet" game list does ''never'' show a server with your same IP address, even if it is configured with "dedicated 2"? Is it possible that you cannot find it even with Qtracker? Is it possible that you can connect to it manually only using your internal IP instead of your external IP?

Yesterday, I tried to open a server myself -hoping to be able to help Pwnage, later-... I allowed firewall and portforwarding for UDP 27960 win my Bintec router, in the same way it works with other programs, but I wasn't able to connect to my server in any way.

I found a strange thing in this page (http://www.homenethelp.com/web/howto/game-behind-router.asp)... for Q3A, it says "port 27960 (+1) - each computer needs their own port.  Increment by one for each person"... what? Is it really this way?


Title: Re: How do i make a server?
Post by: sago007 on May 29, 2010, 07:44:18 AM
Some NAT-routers will not allow this behavior. Others will. I once set up an old debian computer with ipmasq (NAT/PAT-router) and it required an extension to allow this (so does many other things like active FTP). The router might have or not.

I found a strange thing in this page (http://www.homenethelp.com/web/howto/game-behind-router.asp)... for Q3A, it says "port 27960 (+1) - each computer needs their own port.  Increment by one for each person"... what? Is it really this way?
This does not matter most of the time. It matters only if you have more than one physical server behind the same NAT-router.

If not specifying a port number an OpenArena server will use the first unused port from 27960. If you host two servers on the same machine the second one gets 27961 automatically. If you specify that it MUST use port 27960 then it will fail to start if it is not available. So if you have only one physical server the ports are assigned automatically.

If you have two servers behind a router it perfectly valid to give let them both use port 27960 but the router can only forward port 27960 to one of them at a time. So now it matters.

"local" will only find servers with ports in range [27960:27963]

A small note: There is a delay from the server shutdown until the port becomes free. So if the server restarts very quickly it might be prevented from taking the same port again and instead going for the next one. However I have not experienced this with OpenArena possible due to a relative long initializing period.


Title: Re: How do i make a server?
Post by: Gig on May 29, 2010, 09:12:53 AM
Okay.. that "each computer needs their own port - Increment by one for each person" seemed "open an additional port for each client (person) will connect to your server"...


Title: Re: How do i make a server?
Post by: sago007 on May 29, 2010, 09:45:03 AM
Okay.. that "each computer needs their own port - Increment by one for each person" seemed "open an additional port for for each client (person) will connect to your server"...
Yes that "person" was very misleading at least then talking about servers.

For cheap NAT-routers (without PAT) all clients will need a different qport to connect from. That was a problem in earlier versions of ioquake3 because the random generator was not initialized before picking a "random" qport. Even now that way are random conflicts can still occur occasionally but can be solved by restarting OpenArena.


Title: Re: How do i make a server?
Post by: PWNAGE on May 30, 2010, 03:11:32 AM
On multiplayer you can only see your server in 'local'.
Try http://dpmaster.deathmask.net/?game=openarena&server=YOURIP (=external IP - whatismyip.com). Else we'll need to know what router you have to forward the ports.

It says No Response
Does my firewall need to be completely turned off?


Title: Re: How do i make a server?
Post by: sago007 on May 30, 2010, 03:28:40 AM
It says No Response
Does my firewall need to be completely turned off?
Turning firewalls off is generally a bad idea... you should only do it for a few minutes to determine if the configuration error is there.

Just to make sure:
Are you behind a router?
If so, have you configured it?
Have you allowed incomming UDP connection on the server (Unblock in Windows is rarely enough for UDP because Windows cannot know that you want to allow incomming traffic from all hosts).


Title: Re: How do i make a server?
Post by: PWNAGE on May 30, 2010, 03:35:07 AM
Are you behind a router?
If so, have you configured it?
Have you allowed incomming UDP connection on the server (Unblock in Windows is rarely enough for UDP because Windows cannot know that you want to allow incomming traffic from all hosts).

I don't mean to be a pain in the a** but I'm not sure how to check ;)


Title: Re: How do i make a server?
Post by: Cacatoes on May 30, 2010, 06:19:42 AM
How do you connect to the internet ?

You very likely have a router, to which your computer connects (through USB/Ethernet/Wifi).
You have to check that router model, because the way to administrate it will depend of this. Usually, you access the router configuration by typing its IP in your web browser, like: http://192.168.0.1 (maybe http://192.168.1.1 ).
Edit: oh, you can try: http://10.192.62.1 (the URL is cut on this forum so clicking won't work)

Once in router administration, you have to redirect ports. 27960 UDP to your computer IP.


Title: Re: How do i make a server?
Post by: sago007 on May 30, 2010, 06:43:47 AM
You might also be connecting directly, likely if your computer is the only machine connected to the Internet in your home. Servers are usually also directly on the net.

The question "How to make a server?" have thousands of right answers (or more) and only one of them is useful for you.


Title: Re: How do i make a server?
Post by: RMF on May 30, 2010, 05:48:05 PM
caca, usb? I've never seen a router connected via usb :P Usb NIC's yes,  ut not a cable to the router for internet. Is this something new or so?

@TS, you may try:
192.168.1.1
192.168.2.1
10.0.0.138
most used defaults, though you could change it to hundreds of other values in the setup.
You can also find it by opening cmd (windowskey+R, type 'cmd' without quotations and press enter), then type inthe dos screen:
ipconfig
and look for an adapter (there'll be several 'ethernet adapter's) with an IP address, subnet mask and default gateway all present with some numbers. You'll need the number which is behind the 'default gateway' (so type that in your browser).


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 02:38:50 AM
"local" will only find servers with ports in range [27960:27963]
I understand, to have a quick scan, it scans a little port range. Right. But this way it can at maximum find four OA server instances for each IP. It may be useful to have cvars to manually change this range, thus you could make it wider if you know that in your LAN there are more OA servers on a single machine, or that they use different ports for some reason. Well, you can however connect to them manually specifing ip:port, but a wider search would be more comfortable.

Do you think you may add such cvars?


Title: Re: How do i make a server?
Post by: PWNAGE on May 31, 2010, 03:53:15 AM
Im using a Telstra USB Modem (Australia)
I am moving house soon and im getting proper ADSL i might wait until then and see what i can do
Also none of the links worked i typed "http://192.168.0.1" and i typed "192.168.0.1" (For all 3 I.P's)
There was another one i used a few years ago but idk what it was

@RMF i got this in command prompt (I Blocked out Subnetmask and Default Gateway (For Security) )
(http://img80.imageshack.us/img80/4163/cmdc.png)

This is the modem im using
(http://www.teds.com.au/www/6/files/modem_fo.jpg)

Hope this helped :)


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 04:36:14 AM
An USB UMTS modem? Except for speed, it should be similar than using a 56k... it shouldn't integrate router or firewall features by its own. This means that you should not need "port forwarding" (your IP address probably is not beyond a NAT) and probably only Windows Firewall -or other software firewall, like ones installed with various antivirus... what antivirus do you have?- is preventing you from working. Try to temporarily close any firewall program you have.

A problem may be the modem's control software provided by your ISP. Does it have some "acceleration" feature (may be asked when installing)? If so, try to disable it. Another thing you could try (but it may not work) is to see if you can close (not just minimize) that control program and launch the 3G connection like an old dialup connection, from "network connections" interface of Windows (if such connection has been created). Launching the connection this way will make that ISP control program don't update its internal counters for your traffic/connection time (more risk to get over your monthly quota!), but may avoid some blocks caused by that program.

To check if your firewall is correctly set, why don't you try this tool (http://portforward.com/help/portcheck.htm) (with OpenArena and oa_ded closed)?

Anyway, I'm not sure a 3G modem is good enough to act as server... how are your pings when you play on other servers?


Title: Re: How do i make a server?
Post by: PWNAGE on May 31, 2010, 04:52:51 AM
Well as i said before im going to wait untill i move and get ADSL. Because the usb modem i have isnt designed for online gaming. my ping is really bad, most of the time its around 400 > 500 (i can only connect to the "Red" servers)


Title: Re: How do i make a server?
Post by: PWNAGE on May 31, 2010, 04:56:58 AM
Ok, with the the portchecker what port should i check? 1000? or what also do i select TCP or UDP


Title: Re: How do i make a server?
Post by: Cacatoes on May 31, 2010, 05:04:11 AM
"local" will only find servers with ports in range [27960:27963]
I understand, to have a quick scan, it scans a little port range. Right. But this way it can at maximum find four OA server instances for each IP. It may be useful to have cvars to manually change this range, thus you could make it wider if you know that in your LAN there are more OA servers on a single machine, or that they use different ports for some reason. Well, you can however connect to them manually specifing ip:port, but a wider search would be more comfortable.

Do you think you may add such cvars?

Come on, nobody runs 4 servers in a LAN, eventually several machines will have a server running but that's all. LAN is when you meet some friends with your machine and want a quick match, you run the server and here you go. If you have the courage to make several dedicated and well configured servers, then make them available through the internet. If you are tortured enough with this problem so that you seek the internet and read the doc just in order to change a mysterious port-range cvar, then you're no longer going for a quick LAN match either. Don't invent solutions for problems which don't exist, Q3 has been around for 10 years working like this and the way it actually works didn't bother many people.
I'm saying this because these days I see a few fantasy feature requests (I'm myself making some :D), like "help me to make a dedicated server with one click", questions are: is it so worth ? what are the required coding efforts to do that ? It's almost like Sago is alone to produce some code, sometimes I feel like I should just shut up and leave him judge of what can and has to be done ;) It's still good to discuss some features, I just fear there are some priorities.

Feature request: freeze mode !


Title: Re: How do i make a server?
Post by: PWNAGE on May 31, 2010, 05:06:53 AM
O....K ???


Title: Re: How do i make a server?
Post by: Falkland on May 31, 2010, 05:55:37 AM
Well as i said before im going to wait untill i move and get ADSL. Because the usb modem i have isnt designed for online gaming. my ping is really bad, most of the time its around 400 > 500 (i can only connect to the "Red" servers)

Mobile connections are not good for gaming because of high number of packets loss and because of the high latency : UDP protocol needs the exact opposite characteristics to work ( low or eventually no packet loss , low latency ) because the protocol , due to its nature, doesn't have enough pad to recover lost packets/infos . In few words , a lost UDP packet is lost.

You can check your connection with http://www.speedtest.net/ and/or http://www.pingtest.net/ and discover yourself how many packets are getting lost.


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 06:49:24 AM
Well as i said before im going to wait untill i move and get ADSL. Because the usb modem i have isnt designed for online gaming. my ping is really bad, most of the time its around 400 > 500 (i can only connect to the "Red" servers)

If, when you are connecting to a server, get similar pings (using bandwidth for a single user), how did you think to host a server, that needs bandwidth for all other connected players (2, 3, 4, 5...)?
PS: You should be able to connect to "green" or at maximum "yellow" servers... with 400-500 ping it's very difficult to play!


Come on, nobody runs 4 servers in a LAN, eventually several machines will have a server running but that's all. LAN is when you meet some friends with your machine and want a quick match, you run the server and here you go. If you have the courage to make several dedicated and well configured servers, then make them available through the internet.
Not sure about that. A quick match with your 3-4 friends is not the only way you can play locally. Do you know LAN parties (http://en.wikipedia.org/wiki/LAN_party)? Take a look here (http://upload.wikimedia.org/wikipedia/commons/f/f7/Winter_2004_DreamHack_LAN_Party.jpg).

Years ago I went to a club (a "local", I don't know how to say) some times, like a big internet point which had good machines with several multiplayer games installed, with internal Quake 3 (and other games) servers to play over LAN. I'm not sure, I think those servers were available also from internet, anyway if you played locally you had a ping next to 0. Connecting to your LAN server locally is more advisable than using external IP address (and with some routers/firewalls, simply you cannot connect to your own external IP from the inside of your local network). If you are the administrator of a such business, being able to host more different games (to make happy your local customers that love instagib FFA, those who love CTF, those who like Rune Quake 3, etc, etc.) on a single physical machine is good (If you had a powerful server, you'd like to use its power, don't you? Nowadays servers should be more powerful than in 1999, when Q3A was released). If you think to a similar environment, a limit of four is not bad, but it is not even wonderful. I thought to this case, that I saw some years ago...

questions are: is it so worth ? what are the required coding efforts to do that ?
I don't know. Maybe 15 minutes, maybe two days. I can't say that. Sago or fromhell can. I say my ideas to them... if they think they don't need too much time and/or they could really be useful to someone, they can do them (or put them in a "to do" list, even in a low position). I don't pretend they do things, I just say my suggestions to make OpenArena more complete.

For the specific case, I suppose that adding 2 cvars to change the port scan range used by a single function (multiplayer menu) may be easy, but I don't know.


Title: Re: How do i make a server?
Post by: Cacatoes on May 31, 2010, 07:22:15 AM
@Gig,
Right.
/me trying to apply less talk more work :P


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 09:31:20 AM
Ok, with the the portchecker what port should i check? 1000? or what also do i select TCP or UDP

As stated various times along this thread, usually UDP port 27960. Anyway you can find the number of the port in your console (for example, search 27960 in the console output you posted before (http://openarena.ws/board/index.php?topic=3737.msg32398#msg32398)... it's in the "Opening IP socket: 0.0.0.0:27960" line...).


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 10:39:56 AM
I found my error on my router configuration. If now I setup a server, I can see it using http://dpmaster.deathmask.net/?game=openarena&server=<my_server_IP> (http://dpmaster.deathmask.net/?game=openarena&server=<my_server_IP>)... I can't connect to it, but probably it's normal that I can't connect to my external IP from within my LAN (I saw this happening for a webserver and a Cisco router)...

But, even if I stared oa_ded +set dedicated 2 and it sends heartbeats... I can't find it in "internet" section from internal server browser (but, as someone stated, this it may be normal, if I'm not wrong)... and I can't find it in this list (http://dpmaster.deathmask.net/?game=openarena)... anyone got some ideas?

Can you please try to connect? Now my IP is <update:closed now>, and server port is standard 27960: can you please try to connect to it?
You will get an high ping because now I have more network applications open, anyway it should work. Can you confirm if you can connect to it, or if you can find it from Deathmask site or internal server browser? It is named simply "Gig test server"...


Title: Re: How do i make a server?
Post by: Cacatoes on May 31, 2010, 11:52:51 AM
I can connect to it, I added it in my XQF favorites.
WrackDM17, played there for a minute.
No idea for the rest.


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 12:11:08 PM
XQF?

Anyway, I have dynamic IP: it changes every time I reboot my router. If you want to play with me with some mod (I like AlternateFire, Akimbo, BazookaQuake3, NIQ3....), we can use ICQ to arrange...

PS: I still can't find my server on Deathmask server list...


Title: Re: How do i make a server?
Post by: RMF on May 31, 2010, 01:03:53 PM
Server ain't working here, it tries to download pak6-patch085.pk3, but I connect via 085 so should already have it... but then the autodownload errors so can't see what it does.


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 01:33:53 PM
I didn't enable Autodowload.. Anyway it is strange if you are already using 0.8.5.. :-/
Well, I enabled autodownload now, if you want to make another try...

Anyway, some ideas of why it does not appear on deathmask?


Title: Re: How do i make a server?
Post by: RMF on May 31, 2010, 03:12:27 PM
You also have port 27950 open?

edit: now its dling with 12kbs.. >1h or something. You should get that pak out and put it in your OA install folder (not the settings folder in appdata), think that'll help.


Title: Re: How do i make a server?
Post by: Gig on May 31, 2010, 03:29:11 PM
Pak6-patch085.pk3 is in my openarena_install_folder\baseoa (I manually downloaded and installed 0.8.5, I didn't autodownload the patch).
In my %appdata%\OpenArena\baseoa folder there are few pk3s, autodownloaded when I connected to some servers, but patch085 isn't there.

27950 wasn't outgoing? Does portforwarding it mean (cause) only a single internet-published server from my lan? Anyway, outgoing traffic was already enabled.. I enabled also incoming traffic and portforwarding for 27950 UDP, but it seem not work (I sent an heartbeat, but deathmask still don't show it). PFPortChecker tools tells me it is open, it does not give me the error that OpenArena is already using that port... should I quit and launch OA_ded again?

What means that "Hitch warning: xxx msec frame time" I see in my console? (update: I found an explanation here (http://iwnation.com/forums/index.php?showtopic=1955&st=0&p=16366&#entry16366)... it seems it should not be a problem, right?)


Title: Re: How do i make a server?
Post by: RMF on May 31, 2010, 11:53:23 PM
hmm then I don't know what causes it :S

Well, just try putting the whole range 27950-27970 udp&tcp open incoming and outgoing, that'll make sure that isn't the problem ;)

For hitch warnings, most is said in that topic. In short: as long as they're not all the time during playing, it's no problem.


Title: Re: How do i make a server?
Post by: Cacatoes on June 01, 2010, 02:08:27 AM
I'm suspicious with openarena servers running windows, you're not the first who has problem to make it show in dpmaster.


Title: Re: How do i make a server?
Post by: PWNAGE on June 01, 2010, 04:07:13 AM
Ok really weird, with the port checker program when ever i try a TCP port it says "could not connect to the portforward.com servers" but when i try UDP it works (and it says my posts arnt open)


Title: Re: How do i make a server?
Post by: Gig on June 01, 2010, 04:45:33 AM
Ok really weird, with the port checker program when ever i try a TCP port it says "could not connect to the portforward.com servers" but when i try UDP it works (and it says my posts arnt open)

Again, even if creating a server with an USB pen modem has no sense... You did not answer to some questions here (http://openarena.ws/board/index.php?topic=3737.msg32525#msg32525). Have you disabled (or opened the right ports on) your Windows Firewall? What antivirus software do you use? It may include firewall features. The control program of your USB 3G modem has some "acceleration" option to disable? Can you see the connection in your "network connections" window (the one you access from Start -> All programs -> Accessories -> Communications), and launch the connection from there instead of using the control program (with that program closed)?


Title: Re: How do i make a server?
Post by: PWNAGE on June 01, 2010, 05:04:17 AM
Ill update these as i check them

Antivirus:
Spybot-Search and Destroy (Crap :D)

Firewall Ports:
??? Still trying to figure out

Acceleration Option:
Has None

Connecting through Network Connections:
It is only visible in network connections when i am connected (using the program)
as soon as i disconnect (using program) it goes away


Title: Re: How do i make a server?
Post by: Gig on June 01, 2010, 05:17:29 AM
Spybot is not exactly an antivirus, its main goal is being an antispyware. So it may not offer the right protection to some kinds of malware. I think it should be used to integrate other antivirus softwares. For example, a free antivirus software is Avira Antivir.

Maybe some spybot additional components (one is called "teatimer" and I think it is "resident", but I'm not sure) could cause some troble for open ports? I don't now..


Title: Re: How do i make a server?
Post by: PWNAGE on June 01, 2010, 05:24:29 AM
well i never knew spybot wasnt actually a proper anti-virus
thanks  ;)

and i already tried it with sd-resident and teatimer disabled (didn't work obviously)

P.S. i tried AVG it works fine on my other computer but i keep getting fake alerts on this one


Title: Re: How do i make a server?
Post by: Gig on June 01, 2010, 06:59:39 AM
[OT] Also Avira Antivir casues fake alerts sometimes. You can try to let a lower level for "euristic" scan.


Title: Re: How do i make a server?
Post by: RMF on June 01, 2010, 08:07:28 AM
avg sucks, avira is best free of all in my experience.. or that was untill they updated to a new version with everything i liked about it taken out (literally) a month or two ago :( Now have Avast, was some test actually but I'm too lazy to search a good one (there are about none), and I've disabled it all the time anyway (only scan keygens and stuff with it).


Title: Re: How do i make a server?
Post by: Gig on June 01, 2010, 03:34:02 PM
I'm suspicious with openarena servers running windows, you're not the first who has problem to make it show in dpmaster.

This seems interesting... do you know if they fixed someway?

I tried also using 0.8.1 instead of 0.8.5... same result: deathmask can see my server if I specify my server IP, but it does not appear in the list...

I opened/portforwarded the entire 27950-27970 UDP and TCP interval... nothing to do...


Title: Re: How do i make a server?
Post by: RMF on June 01, 2010, 11:47:13 PM
For me it was the router firmware which appearently bugged, upgrading helped. So it wasn't windows ;)


Title: Re: How do i make a server?
Post by: Gig on June 02, 2010, 03:02:43 AM
For me it was the router firmware which appearently bugged, upgrading helped. So it wasn't windows ;)

My router firmware is at its latest version... :-(

If I connect using my old 56k modem (so, no NAT at all), I can find my server on Dpmaster list... Probably the router is the problem... but I have no more ideas on how to trobleshoot...


Title: Re: How do i make a server?
Post by: PWNAGE on June 02, 2010, 03:44:15 AM
Well as i said ill try it with my new modem hopefully in about a moth or two (telstra takes for EVER to come to ur house)

OFF TOPIC: Hmm i just did a virus scan and rebooted my pc and it said i had to activate windows even though this has been activated for years (really weird) so i did and it works fine now  ???


Title: Re: How do i make a server?
Post by: Gig on June 02, 2010, 04:18:40 AM
I had an idea to try trobleshooting my issue... but it didn't work.
I installed Wireshark (http://www.wireshark.org) (packet capture software), with the goal to compare OpenArena traffic with the ADSL router and with the 56k modem...
But it cannot "see" the dial-up (PPP) connection, so I can see only the router traffic.... I have nothing to compare with! Does anyone know a way to capture dial-up packets?

Anyway, these are the "Quake 3" packets it captured:
Quote
No.     Time        Source                Destination           Protocol Info
      5 13.240087   192.168.0.100         64.22.107.125         QUAKE3   Connectionless Unknown

Frame 5 (69 bytes on wire, 69 bytes captured)
Ethernet II, Src: EdimaxTe_ff:82:55 (00:50:fc:ff:82:55), Dst: BintecCo_1e:c5:cc (00:a0:f9:1e:c5:cc)
Internet Protocol, Src: 192.168.0.100 (192.168.0.100), Dst: 64.22.107.125 (64.22.107.125)
User Datagram Protocol, Src Port: 27960 (27960), Dst Port: 27950 (27950)
Quake III Arena Network Protocol
Text: heartbeat QuakeArena-1\n
Command: Unknown

No.     Time        Source                Destination           Protocol Info
      6 13.405229   64.22.107.125         192.168.0.100         QUAKE3   Connectionless Client to Server

Frame 6 (62 bytes on wire, 62 bytes captured)
Ethernet II, Src: BintecCo_1e:c5:cc (00:a0:f9:1e:c5:cc), Dst: EdimaxTe_ff:82:55 (00:50:fc:ff:82:55)
Internet Protocol, Src: 64.22.107.125 (64.22.107.125), Dst: 192.168.0.100 (192.168.0.100)
User Datagram Protocol, Src Port: 27950 (27950), Dst Port: 27960 (27960)
Quake III Arena Network Protocol
Text: getinfo 4D{Cz#]'
Command: Request Info

No.     Time        Source                Destination           Protocol Info
      7 13.405642   192.168.0.100         64.22.107.125         QUAKE3   Connectionless Server to Client

Frame 7 (206 bytes on wire, 206 bytes captured)
Ethernet II, Src: EdimaxTe_ff:82:55 (00:50:fc:ff:82:55), Dst: BintecCo_1e:c5:cc (00:a0:f9:1e:c5:cc)
Internet Protocol, Src: 192.168.0.100 (192.168.0.100), Dst: 64.22.107.125 (64.22.107.125)
User Datagram Protocol, Src Port: 27960 (27960), Dst Port: 27950 (27950)
Quake III Arena Network Protocol
Text: infoResponse\n\voip\1\g_humanplayers\0\g_needpass\0\pure\1\gametype\0\sv_maxclients\8\clients\0\mapname\wrackdm17\hostname\Gig test\protocol\71\challenge\4D{Cz#]'
Command: Reply Info
That seems okay. If I send more heatbeats, I get more similar sequences of three packets. Should there be more packets?


Title: Re: How do i make a server?
Post by: Falkland on June 02, 2010, 10:44:22 AM
I had an idea to try trobleshooting my issue... but it didn't work.
I installed Wireshark (http://www.wireshark.org) (packet capture software), with the goal to compare OpenArena traffic with the ADSL router and with the 56k modem...
But it cannot "see" the dial-up (PPP) connection, so I can see only the router traffic.... I have nothing to compare with! Does anyone know a way to capture dial-up packets?

Anyway, these are the "Quake 3" packets it captured:
[...]
If I send more heatbeats, I get more similar sequences of three packets. Should there be more packets?

You cannot see the ppp connection traffic because wireshark can capture only traffic directed to your network card ( to its MAC address ) : there's a way to silently capture ALL the traffic of your network , but I have doubts it can be easily implemented in a windows system.

Anyway , the captured packets just suggest it's ALL OK :
- your server sends the HB to the dpmaster
- the dpmaster responds asking info about your server ( getinfo )
- your server sends all its info to the dpmaster

At this point your server should be in the dpmaster list : maybe a problem while the dpmaster is trying to resolv the hostname of your server. Once I tried with my own test server I had to wait a bit before seeing it in the public list.

But remember that you must have enough bandiwidth in upload also because when the server will be online , it will be flooded by legal asynchronous requests coming from all the sources ( and they could be many in a while ) that query the dpmaster ( mostly getinfo() requests ).


Title: Re: How do i make a server?
Post by: Gig on June 02, 2010, 04:10:23 PM
Once I tried with my own test server I had to wait a bit before seeing it in the public list.
With ADSL router, I had it attached for 3 hours and it didn't appeared... with 56k, it appeared immediately...
Quote
But remember that you must have enough bandiwidth in upload
56k works and ADSL don't...

:-( :-( :-(
I don't know what to do...

You also have only these 3 kinds of packets after heartbeat?


Title: Re: How do i make a server?
Post by: RMF on June 02, 2010, 04:13:32 PM
try another versionof oa

try another pc and/or os

try another router

try a combinationof the above


Title: Re: How do i make a server?
Post by: Gig on June 02, 2010, 04:18:41 PM
try another versionof oa
I already tried 0.8.5 and 0.8.1: same results with both
Quote
try another pc and/or os
I have only 1 PC at home. I don't think playing with router settings at work is advisable. Maybe I could try using Windows 7 instead of XP... even if my PC is old...
Quote
try another router
Maybe I will be able to get another one in the next weeks...


Title: Re: How do i make a server?
Post by: Gig on June 06, 2010, 03:29:26 AM
Hi guys. I did it, finally! :) I had to do multiple tests, including portforwarding all UDP traffic to my PC, to be able to analyze it using Wireshark. This way, I discovered that, after the first tree packets (my server heartbeat, master server response, my server response -on ports 27960 & 27950-), then more packets are exchanged, and they come from more IP addresses and UDP ports.
My router changed my source port for the first outgoing packets, and those later packets pointed to the modifed port, that was then closed or simply not controlled by OpenArena. To have a server appear on the server list, these additional packets must work.
To fix, I had to enable an option called "Corresponding NAT entry for outgoing connection" in my "port forwarding" setting. This way, my first outgoing packets exit from my router with 27960 instead of a random port, so later incoming packets point to the right port!
I had already enabled that option during previous tests, but at that time it didn't work at all cause of some other configuration error that I later fixed...

Do you know other names for that important option under different router models?


Title: Re: How do i make a server?
Post by: sago007 on June 06, 2010, 03:59:06 AM
Do you know other names for that important option under different router models?
I believe technically this should be mandatory for UDP connections. My router does not have such an option. Not that I have tried hosting a server on it, I use a linode for that.

My (ISP's) router is a NetGear CVG824G and possible the worst router I have ever tried. It sometimes drops TCP connections so not only do I need to enable TCP-keep-alive but I have to set some extremely low intervals too. Worse yet: I have no alternatives, because it is also the modem and I only have one ISP option in my current location.
I simply have to bitch aggressively about after spending most of yesterday trying to get postgreSQL traffic through. This is sorta OpenArena relevant.


Title: Re: How do i make a server?
Post by: Falkland on June 06, 2010, 08:43:23 AM
Hi guys. I did it, finally! :) I had to do multiple tests, including portforwarding all UDP traffic to my PC, to be able to analyze it using Wireshark. This way, I discovered that, after the first tree packets (my server heartbeat, master server response, my server response -on ports 27960 & 27950-), then more packets are exchanged, and they come from more IP addresses and UDP ports.

That is all incoming traffic coming from clients ( getinfo ) and/or sites like gamespy that have access to the dpmaster list. Be careful because this traffic could become significant in certain days and causing problems with your DSL ( eg ... too many incoming connections )

A getinfo query is usually followed by a getchallenge request when a client is trying to connect.

My router changed my source port for the first outgoing packets, and those later packets pointed to the modifed port, that was then closed or simply not controlled by OpenArena. To have a server appear on the server list, these additional packets must work.
To fix, I had to enable an option called "Corresponding NAT entry for outgoing connection" in my "port forwarding" setting. This way, my first outgoing packets exit from my router with 27960 instead of a random port, so later incoming packets point to the right port!

Because your router doesn't map automatically the forwarded port to the corresponding outgoing port . Other routers offer the option to manually map the forwarded single port or group of ports on a single outgoing port.


Title: Re: How do i make a server?
Post by: Falkland on June 06, 2010, 11:45:25 AM
[...] It sometimes drops TCP connections so not only do I need to enable TCP-keep-alive but I have to set some extremely low intervals too. Worse yet: I have no alternatives, because it is also the modem and I only have one ISP option in my current location.

My router is a little linux box ( MIPS CPU with - apparently - 14MB of memory ) and I have to tune timeouts and other parameters to avoid problems ( mostly congestions ).

Code:
/proc/sys/net/ipv4/tcp_syncookies 1 ( modified to 0 : I prefer to have TCP windows scaling active instead since for kernel versions < 2.6.26 , syncookies function disables it)

/proc/sys/net/ipv4/tcp_rfc1337 0 ( modified to 1 : see http://www.faqs.org/rfcs/rfc1337.html )

/proc/sys/net/ipv4/tcp_max_orphans 2048 ( modified to 2 : every new tcp connection is usually not fully initialized but it reuses
                                                            a recent detached piece of memory used by a previous and already
                                                            dead tcp connection - orphan - , for performance reasons at a cost
                                                            of an little increasing of used memory . I prefer to have more free memory instead. )

/proc/sys/net/ipv4/ip_local_port_range 2048 4999 ( modified to 32768 62000 as done in more recent linux kernel versions )

/proc/sys/net/ipv4/netfilter/ip_conntrack_generic_timeout 600 ( reduced to 60 sec as done in the more recent linux kernel versions )

/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_close_wait 120 ( reduced to 60 sec )

/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_fin_wait  120 ( reduced to 60 sec )

/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_time_wait 120 ( reduced to 60 sec )

/proc/sys/net/ipv4/netfilter/ip_conntrack_max 1024 ( increased to 4096 )

/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established 432000 ( in seconds that means 5 days !! ; I've reduced to
                                                                                           half a day = 43200 , since I don't have any running
                                                                                          application using the same TCP connection for such that time )

Those changes have permitted to increase the router uptime , even with more clients accessing internet contemporaneously.

On the other side , those changes can't be stored , so I had to restore them in case of reboot .