Koozali.org: home of the SME Server

Game servers ?

Trevor Drake-Brockman

Game servers ?
« on: September 10, 2002, 07:19:18 AM »
Anyone have any success in running a game server under Mitel ???

Need help in setting up a game server to run SOF2 or Quake.

Terry Brummell

Re: Game servers ?
« Reply #1 on: September 10, 2002, 07:30:03 AM »
Try doing a search for "Quake", there's a huge thread from last month that dealt with this very issue.

Terry

Trevor Drake-Brockman

Re: Game servers ?
« Reply #2 on: September 10, 2002, 08:04:30 AM »
Trevor Drake-Brockman wrote:
>
> Anyone have any success in running a game server under Mitel
> ???
>
> Need help in setting up a game server to run SOF2 or Quake.

Thanks I will see if it helps resolve the problems.

Adam Hampton

Re: Game servers ?
« Reply #3 on: September 11, 2002, 08:45:43 AM »
All I can say is I have had great experience with this package for hosting games

Trevor Drake-Brockman

Re: Game servers ?
« Reply #4 on: September 11, 2002, 10:52:26 AM »
Adam Hampton wrote:
>
> All I can say is I have had great experience with this
> package for hosting games

What games have you run as server?
What ports did you open ??

Holger

Re: Game servers ?
« Reply #5 on: September 12, 2002, 12:33:37 AM »
I had Return To Castle Wolfenstein running on my server - no problems
used 32MB and hardly any of my cpu - 10% or something of the 300MHz
I made a list of what I did if you're intrested....
I believe quake is pretty much the same.

Trevor Drake-Brockman

Re: Game servers ?
« Reply #6 on: September 12, 2002, 01:16:22 PM »
Holger wrote:
>
> I had Return To Castle Wolfenstein running on my server - no
> problems
> used 32MB and hardly any of my cpu - 10% or something of the
> 300MHz
> I made a list of what I did if you're intrested....
> I believe quake is pretty much the same.

When you say you had Castle Wolfenstein running do you mean a LAN game or a server visible to the Interent.  As I can get most games to run over the local LAN but problem is trying to make them visible on the Internet.

Yes very interested in your notes could you post on this board or email me directly on trevor@tdb.com.au

Thanks

Holger

Re: Game servers ?
« Reply #7 on: September 12, 2002, 08:56:08 PM »
If you poke a hole in your firewall it will be both on LAN and internet

ipchains -A input -p udp -s 0/0 27960 -j ACCEPT
ipchains -A input -p udp -s 0/0 27950 -j ACCEPT

Should do the trick if you use the standard ports

And assuming you have all of the dedicated server stuff installed.

nohup wolfded +set com_hunkmegs 64 +set sv_maxrate 9000 +set com_zonemegs 32 +set dedicated 2 +set sv_hostname "-- your cool hostname --"  +exec rotate.cfg +vstr m_rotate1

hope this helps!


Trevor Drake-Brockman

Re: Game servers ?
« Reply #9 on: September 13, 2002, 06:55:06 AM »
Holger wrote:
>
> If you poke a hole in your firewall it will be both on LAN
> and internet
>
> ipchains -A input -p udp -s 0/0 27960 -j ACCEPT
> ipchains -A input -p udp -s 0/0 27950 -j ACCEPT
>
> Should do the trick if you use the standard ports
>
> And assuming you have all of the dedicated server stuff
> installed.
>
> nohup wolfded +set com_hunkmegs 64 +set sv_maxrate 9000 +set
> com_zonemegs 32 +set dedicated 2 +set sv_hostname "-- your
> cool hostname --"  +exec rotate.cfg +vstr m_rotate1
>
> hope this helps!


Thanks Holger, I will give this a try later.  Just one question why are the two ipchains lines exactly the same?

Thanks

Charlie Brady

Re: Game servers ?
« Reply #10 on: September 13, 2002, 07:11:48 AM »
Trevor Drake-Brockman wrote:

> > ipchains -A input -p udp -s 0/0 27960 -j ACCEPT
> > ipchains -A input -p udp -s 0/0 27950 -j ACCEPT
...
> Thanks Holger, I will give this a try later.  Just one
> question why are the two ipchains lines exactly the same?

They're not :-)

The question remains as to what they are intended to achieve. You really want to protect services, and services usually listen on particular ports. If you accept inbound packets based on their source port, then you open up attack to any of your ports which you wish to protect.

If Holger had intended to allow inbound UDP packets directed to ports 27950 and 27960 then he should use -d. However that's not actually required, as inbound UDP packets are blocked only if directed to ports less than 1025. (This will change with the next release, where the packet firewall is implemented with the 2.4 kernel's netfilter/iptables. The connection tracking feature of netfilter allows all packets to be blocked, except those related to an active outbound connection or with an open service).

Regards

Charlie

Holger

Re: Game servers ?
« Reply #11 on: September 13, 2002, 11:57:38 AM »
> Trevor Drake-Brockman wrote:
>
> > > ipchains -A input -p udp -s 0/0 27960 -j ACCEPT
> > > ipchains -A input -p udp -s 0/0 27950 -j ACCEPT
> ...
> > Thanks Holger, I will give this a try later.  Just one
> > question why are the two ipchains lines exactly the same?
>
> They're not :-)

> If Holger had intended to allow inbound UDP packets directed to ports 27950
> and 27960 then he should use -d. However that's not actually required, as
> inbound UDP packets are blocked only if directed to ports less than 1025.
> (This will change with the next release, where the packet firewall is
> implemented with the 2.4 kernel's netfilter/iptables. The connection
> tracking feature of netfilter allows all packets to be blocked, except those
> related to an active outbound connection or with an open service).

I stand corrected!   ;-)

I think you (Charlie) are right - maybe it just works with no modification. It's been a while since I ran that configuration, so I
can't really test it for you Trevor.

We're all looking forward to 2.4 especially because of iptables.

Regards

Holger