Koozali.org: home of the SME Server

port opening (not forwarding)

Boban

port opening (not forwarding)
« on: March 27, 2001, 01:22:58 AM »
Hi there
Here goes my problem, and believe me i've looked all over the net to find a solution, but failed in my quest so i come to you now....
I would like to host a dedicated Half-Life server on my E-smith machine.
As far as I could find info about it, it needs these ports to be available: 27010-27020 udp, 6003-6004 tcp
Is it possible to make this work in E-smith? Should I go somewhere else?
Remeber, not forwarding but opening....

Otherwise I would like You to know that this is one of the best products in it's class (if not THE best)...

PS:
How come there is no retail version anywhere in Sweden?
DS.

Thanks in advance
Boban Jelica

Tom Peck

Re: port opening (not forwarding)
« Reply #1 on: March 27, 2001, 01:56:53 AM »
If you add the following lines to a start up file, this should solve your problem.

ipchains -I input -p tcp --destination-port 27010:27020 -j ACCEPT
ipchains -I input -p udp --destination-port 6003:6004 -j ACCEPT

don't get too carried away with port openings though...

Tom Peck

Re: port opening (not forwarding)
« Reply #2 on: March 27, 2001, 02:04:09 AM »
Oops, I just realised I have them round the wrong way...  should have read:

ipchains -I input -p udp --destination-port 27010:27020 -j ACCEPT
ipchains -I input -p tcp --destination-port 6003:6004 -j ACCEPT

Henrik

Re: port opening (not forwarding)
« Reply #3 on: March 27, 2001, 10:19:22 AM »
Hello!
What version of e-smith do you use?
I have hosted a halflife counter-strike server on both 4.0 and 4.1.1 without any problems. There is a module called ip_masq_quake with the e-smith and as far as I know it works for halflife too. I didn't have to do anything to get it work... Just install the halflife server files on the e-smith and then there should be no trouble in starting a dedicated halflife server...

I run a Counter-Strike dedicated server on my e-smith almost 24/7 and it works perfectly. It is also easy to install programs (I prefer halfStats, www.halfstats.com) that makes nice stats from your halflife server and show them on the webserver that comes with e-smith...
CS server ip 213.66.186.160
Stats 213.66.186.160/stats

In short e-smith works great as a game server :)

Boban vi kan ta det på svenska också om du vill :) Har du problem så kan du bara maila mig så ska jag försöka hjälpa dig så gott jag kan...

Henrik

Re: port opening (not forwarding)
« Reply #4 on: March 27, 2001, 10:32:58 AM »
Hej igen!
Ville bara tacka för hjälpen med battlecom, har inte hunnit testa än men det ska nog gå bra...

Som sagt maila mig om du vill ha hjälp med Half-Life
/Henrik

Tom Peck

Re: port opening (not forwarding)
« Reply #5 on: March 27, 2001, 01:59:48 PM »
Henrik wrote:
>
> I run a Counter-Strike dedicated server on my e-smith almost
> 24/7 and it works perfectly. It is also easy to install
> programs (I prefer halfStats, www.halfstats.com) that makes
> nice stats from your halflife server and show them on the
> webserver that comes with e-smith...
> CS server ip 213.66.186.160
> Stats 213.66.186.160/stats


Henrik - you have renewed my interest in setting up a counter-strike server!  Problem - I ran a small search on the net for a counter-strike 1.1 RPM, but couldn't find one anywhere..

How did you install it?

Thanks...

Tom

Henrik

Re: port opening (not forwarding)
« Reply #6 on: March 27, 2001, 03:26:55 PM »
Hi Tom!
You don´t need any rpm. What you need is the server files for both halflife and counter-strike.

Go to http://server.counter-strike.net
Go to the Linux link and read the basic linux server setup and you will have your server up and running in no time  :)

The files you need is (you will find links on the above url):
hlds_l3106.tar.gz  (this is the full install patch for halflife dedicated server 106mb)
cs_11b_full.tar.gz (this is the full install patch for CS dedicated server 76mb)

You need both theese files

Then of course you will need the latest client files for you halflife/counter-strike game

Hope this helps you,

/Henrik

aniston

Re: port opening (not forwarding)
« Reply #7 on: March 28, 2001, 01:08:54 AM »
I have the similar kind of problem but with the real server basic version.

I cannot seem to get to a live.rm link from the outside of my network! I guess I should have some teh port 8080 and 554 opened  for the server to work from the outside too....
anyone has been thru the real server basic before ?. I cannot get mine working from the outside.

regards,
aniston.

Tom Peck

Re: port opening (not forwarding)
« Reply #8 on: March 28, 2001, 01:57:00 AM »
aniston wrote:
>
> I cannot seem to get to a live.rm link from the outside of my
> network! I guess I should have some teh port 8080 and 554
> opened  for the server to work from the outside too....
> anyone has been thru the real server basic before ?. I cannot
> get mine working from the outside.


By default the only ports that E-Smith has open to the outside world are the ones which it is setup to use (ftp / ssh / http / smtp / pop3 or what ever services you have asked it to use).  If real server requires people to be connecting to the server from the outside on those ports, then they will have to be opened up.

Although it is easy enough to open up ports - you should only do it when absolutely necessary - as the more ports you have open, the more chance you have at someone trying to abuse your server.