Koozali.org: home of the SME Server

Some questions... (open/close ports and stuff)

zealot

Some questions... (open/close ports and stuff)
« on: June 22, 2006, 08:07:27 PM »
Hello geeks !  :-)

I've been searching in this forum for a solution to open some some ports for incoming connections like UDP 27012, 27015, TCP 5154 (cs and bzflag) and i camed empty handed..... can you tell me a good way to open this ports without using iptables commands ? is there a contrib (or smth) that integrates in server-manager ?

The 2'nd question is: The users created in server manager are linux users ? or domain users ?

The 3'rd q. : The "Starter web site" is for internal network only ? or it's visible from the internet ? (obvious mine isn't visible from the internet, is a solution for this? ).

Thx. and sry 4 my english.

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Some questions... (open/close ports and stuff)
« Reply #1 on: June 22, 2006, 11:57:20 PM »
zealot

A very good start would be to read the manual ... it will answer all your questions.

Why do you want to open ports ... did you install a contrib that is running on your SME server that requires ports opened or do you actually want to forward ports ... opening ports to your server is risky unless you know what you are doing ... and by the questions I see here I would say you are new at all this.

2nd ... The users created in server manager are domain users.

3rd ... The starter web site is just that ... but it can be seen from externally as well ... as long as you have everything setup correctly externally as well.

Regards,

Tib

zealot

Some questions... (open/close ports and stuff)
« Reply #2 on: June 23, 2006, 12:28:36 AM »
Tib,
I want to install a cs server (on the same machine), in the past i used clarkconnect and the "read-only" euronode, both are configurable through a web-based tool, and both have an option to open port for incoming connections. In SME i don't know how to open a port, i don't see any options, only port forwarding.
The how-to for installing half-life and cs is a little old, i will try to use a i-bay instead of opening ports.

About that starter web site... i checked it later and it worked, i don't know how, i didn't do anything.... this is weird !

(And yes, i'm new to all this.)


Thx. for your answer.

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Some questions... (open/close ports and stuff)
« Reply #3 on: June 23, 2006, 12:50:41 AM »
Code: [Select]
rpm -Uvh http://sme.swerts-knudsen.dk/downloads/dmc-mitel-portopening-0.0.1-4.noarch.rpm
Then check the new addition under server-manager!

zealot

Some questions... (open/close ports and stuff)
« Reply #4 on: June 23, 2006, 07:36:21 AM »
Thx stuntshell, this is what i was looking for.

Offline JonB

  • *
  • 351
  • +0/-0
Some questions... (open/close ports and stuff)
« Reply #5 on: June 23, 2006, 12:51:38 PM »
That port opening RPM is built for SME6. It has been reported that it does not work with SME7 and that will be because the database location changed between SME6 and SME7.

I am not aware of any port opening rpm that has been built for SME7

Jon
...

zealot

Some questions... (open/close ports and stuff)
« Reply #6 on: June 23, 2006, 03:17:33 PM »
JonB, if that rpm doesn't work i don't see other recommended alternatives to open those ports, i will use iptables. From what i've seen i-bays are used for webpages.

I don't understand how to install aditional software on this server and not having a tool for opening ports, it's getting frustrating.  :-?
Does the server automaticly opens ports for incoming connection ? (guess not but i'll ask anyway)

(i will search for aditional info on those i-bays, maby there is a hope)

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Some questions... (open/close ports and stuff)
« Reply #7 on: June 23, 2006, 03:28:40 PM »
Quote from: "JonB"
That port opening RPM is built for SME6. It has been reported that it does not work with SME7 and that will be because the database location changed between SME6 and SME7.
Jon


Not true, works fine on all RC versions I have running, and some others I don't run too  ;-)

Offline JonB

  • *
  • 351
  • +0/-0
Some questions... (open/close ports and stuff)
« Reply #8 on: June 24, 2006, 04:28:23 AM »
Well look at that. You are correct :oops:

It just doesn't create the iptables rules the same way that it does on SME7 but has the advantage that you can open multiple ports e.g UDP 10000:20000 which you currently cannot do on SME7rc and has been punted to SME7.1

The SME7 methodology is decribed in the FAQ's

http://no.longer.valid/phpwiki/index.php/SME7FAQs#Firewallx2f.Portx20.Fowardingx2c.Openingx2c.Blocking

The advantage of doing it this way is that you can use AllowHosts or DenyHosts to allow or block certain host IP addresses.

Jon
...

Offline stiperstones

  • *
  • 177
  • +0/-0
    • http://www.stiperstones.com
Some questions... (open/close ports and stuff)
« Reply #9 on: June 24, 2006, 05:11:58 PM »
maybe this post will help read them all

http://forums.contribs.org/index.php?topic=30788.0
Stiperstones

http://wiki.contribs.org/Koozali_Foundation
Try the Wiki some great how's there

"My Licence".........

Don't report security issues here - Contact security at contribs dot org
Don't report problems here - Please report bugs @ http://bugs.contribs.org/
Don't ask the same question twice - Please search the forums, your question may have been asked before - Thank You.

zealot

Some questions... (open/close ports and stuff)
« Reply #10 on: June 25, 2006, 11:01:50 AM »
That did-it !

Thank you all for your time.