Koozali.org: home of the SME Server

Open specific external port

Offline Nokia390

  • ****
  • 88
  • +0/-0
Open specific external port
« on: April 04, 2009, 04:34:25 PM »
Hello.
How i can open a specific external port? like 13000 or 14001.
Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Open specific external port
« Reply #1 on: April 04, 2009, 04:38:26 PM »
hi

is your SME in server & gateway mode? if so, go to "port forwarding" panel and create the rule you need

this information and more on the documentation (link above); please take some time to read it and remember to search the forums before posting :wink:

Thank you
Ciao
Stefano

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Open specific external port
« Reply #2 on: April 04, 2009, 04:43:36 PM »
thank for replay.
my server is gateway, i´ve tray to portfoward but still closing specific ports

Offline versa

  • ****
  • 109
  • +0/-0
Re: Open specific external port
« Reply #3 on: April 04, 2009, 04:51:40 PM »
How about trying this
http://wiki.contribs.org/Firewall#DB_Settings

I used it to enable public access to a port on my server (in server only mode) and fordwarded the relevent port on my router.

Code: [Select]
config set "service-name" service access public status enabled TCPPort 13000
signal-event remoteaccess-update
......

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Open specific external port
« Reply #4 on: April 04, 2009, 04:52:47 PM »
thanks

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Open specific external port
« Reply #5 on: April 04, 2009, 05:36:22 PM »
it still closed...

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Open specific external port
« Reply #6 on: April 04, 2009, 05:45:47 PM »
its not for a specified service, but for all services i need to open a port

Offline versa

  • ****
  • 109
  • +0/-0
Re: Open specific external port
« Reply #7 on: April 04, 2009, 06:02:18 PM »
paste the command you put in
I think you have to specify a name for this "service"
......

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Open specific external port
« Reply #8 on: April 04, 2009, 07:10:28 PM »
its not for a specified service, but for all services i need to open a port

which service are you referring?

please expose your problem and your setup, not your solution.

thank you
Ciao
Stefano
« Last Edit: April 04, 2009, 09:28:22 PM by Stefano a.k.a. nenonano »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Open specific external port
« Reply #9 on: April 04, 2009, 09:18:43 PM »
How i can open a specific external port? like 13000 or 14001.

Why do you want to do that? Your SME server is not running any services on port 13000 or port 14001.

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Open specific external port
« Reply #10 on: April 05, 2009, 08:43:27 PM »
make a  "cccam" server for my dreambox
and i need to open the 13000 port to external servers
I did it in ubuntu, but i like mutch more sme.
Sory my english
Thanks

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Open specific external port
« Reply #11 on: April 05, 2009, 08:49:05 PM »
if the service listening on port 13000 is running on SME you should do in the SME's way

Code: [Select]
config set myprogam service access public status enabled TCPPort 13000
signal-event remoteaccess-update

if it's running on an internal server, then use the portforwarding panel

there's no other way.

anyway, you did not expose completely the problem.

Ciao
Stefano

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Open specific external port
« Reply #12 on: April 05, 2009, 08:53:39 PM »
ok
i´m go to try
thanks a lot

Offline versa

  • ****
  • 109
  • +0/-0
Re: Open specific external port
« Reply #13 on: April 05, 2009, 09:26:43 PM »
The commands that I gave you above is what I used for CCcam
Plus CCcam runs on port 12000 by default did you change the port number ?
Is the service running ?
......

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Open specific external port
« Reply #14 on: April 05, 2009, 10:38:40 PM »
Its in 12000 but i´m trying in other. i´m having some problems to implement the service in sme. My idea is run the service directly on sme. i can´t run the service gave-me error
i start whith  /var/bin$ sh cccam start
like in ubuntu but nothing hapens.
thanks