Koozali.org: home of the SME Server

Port openning

Offline Stiven

  • ***
  • 53
  • +0/-0
Port openning
« on: August 08, 2007, 09:41:42 AM »
Hi everydoby,

I would like to open a port on SME7.

I know that a contrib exists for SME6 named port-openning. Does it exist for SME7 ?

In the case it doesn't, could someone help me doing this ?

Thanx in advance.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Port openning
« Reply #1 on: August 08, 2007, 11:13:47 AM »
Stiven

> I would like to open a port on SME7.

The port forwarding panel in server manager both opens and forwards ports. Is that sufficient for what you want to do ?
...

Offline okepc

  • ****
  • 118
  • +0/-0
    • http://www.okepc.nl
Port openning
« Reply #2 on: August 08, 2007, 03:22:30 PM »
So to use the portforwarding as portopening i just forward to my internal ip adres of the server ?

Dirk

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Port openning
« Reply #3 on: August 08, 2007, 07:49:46 PM »
Quote from: "Stiven"
Hi everydoby,

I would like to open a port on SME7.

I know that a contrib exists for SME6 named port-openning. Does it exist for SME7 ?

In the case it doesn't, could someone help me doing this ?

Thanx in advance.


To open a port on SME, you need to define a new service like this:
Code: [Select]
db configuration set myservice service access public TCPPort 2000 status enabled, just replace myservice by the name you want for the service and 2000 by the port you need to open (you can replace TCPPort by UDPPort if you want to use UDP). Once this is set, lunch the event remoteaccess-update:
Code: [Select]
signal-event remoteaccess-update
C'est la fin du monde !!! :lol:

Offline raem

  • *
  • 3,972
  • +4/-0
Port openning
« Reply #4 on: August 09, 2007, 05:50:38 AM »
Quote from: "okepc"
So to use the portforwarding as portopening i just forward to my internal ip adres of the server ?


http://wiki.contribs.org/PortRedirect

See this example, note to use localhost rather than your servers IP.
eg quoting from the above link:
"I went to port forwarding and set port 2525 to forward to port 25 with the ip set to the word localhost."
...