Author Topic: [SOLVED] Router dedicated and port forwarding issue (Plese HELP!!!!!)  (Read 6259 times)

Biszkhopt

  • Posts: 47
  • Turrets: +0/-0
OK, I know that this is known issue, but unfortunately browsing web I don't manage to find solution. Firstly I'll describe the problem:

i have Linksys WRT54GL router with custom firmware "Tomato" ver 1.20 (linux based with more functions, overclock ability etc.)

I set up port forwarding (30720) to ip that router gives me (i set up so every time i connect i have 192.168.1.121)

i have Fedora Core 10 with 2.6.27-9 kernel (if it change anything with KDE 4.2 RC) installed and I'm starting server with

Quote
./tremded.x86 +set dedicated 2 +exec server.cfg +set net_port 30720 +set fs_homepath /home/biszkhopt/.tremulous +net_ip 192.168.1.121

and my output is

Quote
tremulous 1.1.0 linux-x86 Sep 14 2006                                                       
----- FS_Startup -----                                                                       
Current search path:                                                                         
/home/biszkhopt/.tremulous/base                                                             
/usr/share/tremulous/base/vms-1.1.0.pk3 (4 files)                                           
/usr/share/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)                               
/usr/share/tremulous/base/map-tremor-1.1.0.pk3 (45 files)                                   
/usr/share/tremulous/base/map-transit-1.1.0.pk3 (135 files)                                 
/usr/share/tremulous/base/map-niveus-1.1.0.pk3 (134 files)                                   
/usr/share/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)                                   
/usr/share/tremulous/base/map-karith-1.1.0.pk3 (118 files)                                   
/usr/share/tremulous/base/map-atcs-1.1.0.pk3 (87 files)                                     
/usr/share/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files)                                 
/usr/share/tremulous/base/data-1.1.0.pk3 (1229 files)                                       
/usr/share/tremulous/base                                                                   

----------------------
2080 files in pk3 files
execing default.cfg   
execing autogen.cfg   
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
--- Common Initialization Complete ---
Opening IP socket: localhost:30720   
Hostname: localhost.localdomain       
Alias: localhost                     
Alias: biszkhopt-fedora               
IP: 127.0.0.1                         
Started tty console (use +set ttycon 0 to disable)
execing server.cfg                               
------ Server Initialization ------               
Server: atcs                                     
Hunk_Clear: reset the hunk ok                     
----- FS_Startup -----                           
Current search path:                             
/home/biszkhopt/.tremulous/base                   
/usr/share/tremulous/base/vms-1.1.0.pk3 (4 files)
/usr/share/tremulous/base/map-uncreation-1.1.0.pk3 (110 files)
/usr/share/tremulous/base/map-tremor-1.1.0.pk3 (45 files)     
/usr/share/tremulous/base/map-transit-1.1.0.pk3 (135 files)   
/usr/share/tremulous/base/map-niveus-1.1.0.pk3 (134 files)   
/usr/share/tremulous/base/map-nexus6-1.1.0.pk3 (151 files)   
/usr/share/tremulous/base/map-karith-1.1.0.pk3 (118 files)   
/usr/share/tremulous/base/map-atcs-1.1.0.pk3 (87 files)       
/usr/share/tremulous/base/map-arachnid2-1.1.0.pk3 (67 files) 
/usr/share/tremulous/base/data-1.1.0.pk3 (1229 files)         
/usr/share/tremulous/base                                     

----------------------
4160 files in pk3 files
Loading vm file vm/game.qvm...
...which has vmMagic VM_MAGIC_VER2
Loading 881 jump table targets   
VM file game compiled to 1205079 bytes of code
game loaded in 34179296 bytes on the hunk
------- Game Initialization -------
gamename: base
gamedate: Dec 27 2006
------------------------------------------------------------
InitGame: \sv_maxPing\0\sv_minPing\0\sv_maxRate\15000\sv_hostname\(-LK-) Polish Clan (testing)\timelimit\60\sv_maxclients\14\sv_minRate\5000\g_suddenDeathTime\60\g_maxGameClients\0\g_unlagged\1\version\tremulous 1.1.0 linux-x86 Sep 14 2006\protocol\69\mapname\atcs\sv_privateClients\0\sv_allowDownload\0\g_needpass\0\gamename\base
!readconfig: could not open admin config file admin.dat
2 teams with 2 entities
-----------------------------------
-----------------------------------
Hitch warning: 959 msec frame time
Resolving master.tremulous.net
master.tremulous.net resolved to 208.116.49.110:30710
Sending heartbeat to master.tremulous.net

Unfortunately after that i cant see my server either in local or internet master list.
Any ideas what could be a problem, any help would be appreciated! 
« Last Edit: January 19, 2009, 05:14:57 pm by Biszkhopt »

open source rulez

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Router dedicated with port forwarding issue (Plese HELP!!!!!)
« Reply #1 on: January 19, 2009, 03:09:51 pm »
I'm not sure what NAT tomato uses, but if its shit then you will never see your server from inside the network.
Do you have the ports forwarded right?
If you do, then run qstat (or xqf for a nice GUI) and see if it lists your server.  It may count as a timeout for you but work for the rest of the world.
If it doesn't, you can use wireshark to see if the master server's getinfo's are getting through.
Also check the host firewall.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Biszkhopt

  • Posts: 47
  • Turrets: +0/-0
Re: Router dedicated with port forwarding issue (Plese HELP!!!!!)
« Reply #2 on: January 19, 2009, 03:55:53 pm »
I don't really know how to check qstat, however my firewall (on fedora) was set to forward exactly same port to mine ip so i really don't know what might be wrong.

open source rulez

Biszkhopt

  • Posts: 47
  • Turrets: +0/-0
Re: Router dedicated with port forwarding issue (Plese HELP!!!!!)
« Reply #3 on: January 19, 2009, 04:01:24 pm »
in few moments I make some screenshoots maybe that'll show you more...

open source rulez

Biszkhopt

  • Posts: 47
  • Turrets: +0/-0
Re: Router dedicated with port forwarding issue (Plese HELP!!!!!)
« Reply #4 on: January 19, 2009, 04:13:48 pm »
This is how it looks (I'm not sure about firewall conf coz i put my ip, because I have no idea what other one I could possibly place there)




open source rulez

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Router dedicated with port forwarding issue (Plese HELP!!!!!)
« Reply #5 on: January 19, 2009, 04:50:09 pm »
You don't have to use port forwarding on your server PC, in fact I'm not sure if linux handles the case when you forward a port to it's own IP, it could just discard those packets. Just check that the port is not blocked in your firewall, that's probably in the "Trusted Services" or "Other Ports" sections.

Biszkhopt

  • Posts: 47
  • Turrets: +0/-0
Re: Router dedicated with port forwarding issue (Plese HELP!!!!!)
« Reply #6 on: January 19, 2009, 05:02:35 pm »
OK,  but even without this port forwarding can't see my server it just sending heartbeats like that

Quote
Resolving master.tremulous.net
master.tremulous.net resolved to 208.116.49.110:30710
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net
Sending heartbeat to master.tremulous.net

but I won't see server itself

open source rulez

Biszkhopt

  • Posts: 47
  • Turrets: +0/-0
Re: Router dedicated with port forwarding issue (Plese HELP!!!!!)
« Reply #7 on: January 19, 2009, 05:13:47 pm »
Yuppiii!!!! Issue solved i shall thank you, and beat my self for mine stupidity. Allowing port (30720) from host firewall solved problem.
Now i can see my server in master list.

SO THIS IS CONCLUSION TO ALL PEOPLE HAVING SIMILAR ISSUE:


1 - CHECK IF YOU ARE FORWARDING PORT ON YOUR ROUTER (FOR ALL PEOPLE WITH LINKSYS WRT SERIES I RECOMMEND USING "TOMATO" FIRMWARE)

2 - SET UP YOUR FIREWALL TO ALLOW THAT PORT (I REALLY DON'T THINK THAT DISABLING IS GOOD IDEA)

3 - MAKE SURE THAT YOU'RE STARTING SERVER WITH:
       
         
Quote
+set net_port 30720

         or any port you're using to start server

         and

         
Quote
+net_ip youreip

        good luck!

open source rulez

brendanvos

  • Posts: 29
  • Turrets: +0/-0
Re: [SOLVED] Router dedicated and port forwarding issue (Plese HELP!!!!!)
« Reply #8 on: January 19, 2009, 06:50:10 pm »
So how do you change the settings that come up in command prompt when you start your server?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: [SOLVED] Router dedicated and port forwarding issue (Plese HELP!!!!!)
« Reply #9 on: January 19, 2009, 07:18:53 pm »
By not posting crap in lots of unrelated threads.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

brendanvos

  • Posts: 29
  • Turrets: +0/-0
Re: [SOLVED] Router dedicated and port forwarding issue (Plese HELP!!!!!)
« Reply #10 on: January 19, 2009, 07:27:47 pm »
Umm that was quite unnecessary, as that was related because he posted that one solution was to make sure it was set up as "+set net_port 30720" so please dont be a Jerk while I'm trying to learn.