Koozali.org: home of the SME Server

Gameserver behind SME box

Henrik

Gameserver behind SME box
« on: January 05, 2003, 02:54:30 PM »
I need to run a SOFII server behind the 5.5 box
I can specify which port to run the server on - default is 20100.
Opening the port and forwarding the port to the internal server does not do the trick.

I obviously need other ports opened - Anybody have a clue?

/Henrik

Holger

Re: Gameserver behind SME box
« Reply #1 on: January 05, 2003, 07:29:22 PM »
Well - it should!

Are you using the port forwarding contrib? It works for me with bf1942. Just remember to specify either UDP or TCP as required by your game server.
You don't even need to "open" ports. Only port numbers below 1024 (i think) are blocked.

Holger

Henrik

Re: Gameserver behind SME box
« Reply #2 on: January 05, 2003, 08:53:07 PM »
Yes, im using the port forwarding contrib
I've forwarded both tcp and upd...

This worked before the sme box arrived. And i've adjusted the NAT entries in the router to this new configuration. But no go... ?? Can't see the server from the outside.

/Henrik

Zig

Re: Gameserver behind SME box
« Reply #3 on: January 13, 2003, 03:36:20 PM »
I've got the same problem, trying to run a terminal server on the inside. I've even tried to open the port, but it's invisible to the outside...

Henrik

Re: Gameserver behind SME box
« Reply #4 on: January 13, 2003, 08:37:47 PM »
Hmm... Everything works on my box: port 21, 22, 80, 443. But adding a custom port does not.

I've cheked my router config and its ok.

Anybody have a method of troubleshooting this?

/Henrik

Holger

Re: Gameserver behind SME box
« Reply #5 on: January 13, 2003, 09:40:08 PM »
What do you mean "you adjusted the NAT entries"?
You shouldn't have to...

Have you tried tcpdump?

Henrik

Re: Gameserver behind SME box
« Reply #6 on: January 13, 2003, 11:48:59 PM »
Holger wrote:
>
> What do you mean "you adjusted the NAT entries"?
> You shouldn't have to...
>
> Have you tried tcpdump?

Yes, i should have to..... When the packet arrives at the router on lets say port 20500 - where does the router put the packet when the transfer is not initiated from inside the LAN? My router which does NAT, translates the private ip address to an public address.

So when I put the SME box between the router and the gameserver - the router should no longer NAT to the gameserver ip, but the SME box... and then the SME should portforward to the gameserver.

As i said before this worked 100% before the SME box arrived. It kinda came between me and the game server ;-)

/Henrik, i man lost in space

Holger

Re: Gameserver behind SME box
« Reply #7 on: January 15, 2003, 10:23:46 AM »
Well - if I understand your setup correct:
- 1 server on the privat network behind your e-smith NAT/firewall
- clients on the outside

Then NO, you should not have to mess with the NAT entries, unless of course SOFII uses some crap proprietary protocols (excuse my french  ;-).
I'm 99.9% confident that Quake, CastleWolfenstein, Battlefield1942 work with portforwarding only.

My suggestion is:
1 - make sure you opened the right port
2 - remove your NAT changes (and all other router changes)
3 - use tcpdump/ethereal to check if anything gets through

Ethereal can be dl'ed for Windoze as well...

Holger

Re: Gameserver behind SME box
« Reply #8 on: January 15, 2003, 11:13:43 AM »
Ok - I missed the router part - sorry...

If "changeing NAT entries in router" = port forwarding for your router, then you should of course do it.

tcpdump is already installed on your e-smith so you can use that to see if it receives anything from your router.
Those TDC routers are allways causing headaches...  ;)

Henrik

Re: Gameserver behind SME box
« Reply #9 on: January 25, 2003, 09:14:52 PM »
Im giving up... moving the gameserver in front of the sme box to get it to work. :-(

/Henrik

PS: No, i use tiscali - my router is a Cisco 677 and needs to be configured where to put the packets. (Cisco call it a NAT entry) cmd: set nat entry add ....

The SME box is not sending anything further a head on port 20100 even that it is configured. :-(

Henrik

Re: Gameserver behind SME box
« Reply #10 on: January 25, 2003, 09:15:18 PM »
Im giving up... moving the gameserver in front of the sme box to get it to work. :-(

/Henrik

PS: No, i use tiscali - my router is a Cisco 677 and needs to be configured where to put the packets. (Cisco call it a NAT entry) cmd: set nat entry add ....

The SME box is not sending anything further a head on port 20100 even that it is configured. :-(

Holger

Re: Gameserver behind SME box
« Reply #11 on: January 26, 2003, 01:42:27 AM »
Too bad ... :(

I can't really see what the point is with your last point, but I'm pretty confident that you can't blame e-smith for your grief in the game server game (terrible pun - i know...  ;)

If I ever get my hands on either a cisco 677 (IMHO both Cisco and Tiscaly both suck badly  ;) or a SOFII CD, I'll prove you wrong.
I'ts not your fault if either cisco677 or SOFII are badly designed, but otherwise IT SHOULD WORK!

Cisco: NAT ext port 20100 to ext IP:20100 of your e-smith box (IP of eth1)
E-smith: port forward port 20100 to IP of your game PC (do both udp and tcp if in doubt)

Henrik

Re: Gameserver behind SME box
« Reply #12 on: January 26, 2003, 01:00:59 PM »
Holger wrote:
>
> Too bad ... :(
>
> I can't really see what the point is with your last point,
> but I'm pretty confident that you can't blame e-smith for
> your grief in the game server game (terrible pun - i know...
> ;)
My point is that i've given up.... Can't make it work with SME.
>
> If I ever get my hands on either a cisco 677 (IMHO both Cisco
> and Tiscaly both suck badly  ;)
Oh, i see an expert on networks... Cisco sucks?? lol...
> or a SOFII CD, I'll prove you wrong.
Dont bother...
> I'ts not your fault if either cisco677 or SOFII are badly
> designed, but otherwise IT SHOULD WORK!
Neither cisco or the game is badly designed. There is no problem as long as the SME box is not situated in front.
> Cisco: NAT ext port 20100 to ext IP:20100 of your e-smith box
> (IP of eth1)
Doh... as i havent done that
> E-smith: port forward port 20100 to IP of your game PC (do
> both udp and tcp if in doubt)
Doh... again im not a newbie. And most games will run UDP. Do you know why??

Holger

Re: Gameserver behind SME box
« Reply #13 on: January 27, 2003, 02:19:50 AM »
Henrik wrote:
> My point is that i've given up.... Can't make it work with SME.

...and my point was: If you've given up, then why are you posting anything?


> Oh, i see an expert on networks... Cisco sucks?? lol...

Actually yes - it's my job (networks) for 8 years now :)
But yes you are right I have only worked with very few Cisco products - so I can't really say I'm an expert on that...


> Doh... as i havent done that

But you haven't given much specific feedback either on what you HAVE done either ...

Did you do the sniffer part?


> Doh... again im not a newbie. And most games will run UDP. Do you know why??

Is that a true question or are you patronizing me?

Zig

Re: Gameserver behind SME box
« Reply #14 on: January 27, 2003, 10:48:56 AM »
Could you please stop bugging my e-mail. I'm actually interested in solving the problem, not to read about who's asking the most stupid question...

Zig