Koozali.org: home of the SME Server
		Obsolete Releases => SME Server 7.x => Topic started by: Nokia390 on April 04, 2009, 04:34:25 PM
		
			
			- 
				Hello.
 How i can open a specific external port? like 13000 or 14001.
 Thanks.
 
- 
				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
- 
				thank for replay.
 my server is gateway, i´ve tray to portfoward but still closing specific ports
- 
				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.
 
 config set "service-name" service access public status enabled TCPPort 13000
 signal-event remoteaccess-update
 
- 
				thanks
			
- 
				it still closed...
			
- 
				its not for a specified service, but for all services i need to open a port
			
- 
				paste the command you put in 
 I think you have to specify a name for this "service"
- 
				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
- 
				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.
- 
				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
- 
				if the service listening on port 13000 is running on SME you should do in the SME's way
 
 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
- 
				ok
 i´m go to try
 thanks a lot
- 
				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 ?
 
- 
				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
- 
				what happens if you start CCcam in debug mode will it run ?
 
 /var/bin/CCcam.x86 -d
 
- 
				Would the port opening contrib from swerts-knudsen work
 
 rpm -Uvh http://sme.swerts-knudsen.com/downloads/dmc-mitel-portopening-0.0.1-4.noarch.rpm
 /etc/e-smith/events/actions/navigation-conf
 
 Bob
- 
				Would the port opening contrib from swerts-knudsen work
 
 
 No, it doesn't do anything that the db commands provided by Stefano will not do.
- 
				bin]# sh cccam start
 Starting CCcamd                                            [  OK  ]
 
 the service is started
 
 i must do:
 bin]# config set CCcam..x86 service access public status enabled TCPPort 12000
 
 
 or:
 
 bin]# config set CCcam service access public status enabled TCPPort 12000
 
 thanks
 
- 
				but the port 12000 still closed
			
- 
				but the port 12000 still closed
 
 
 evidently it is "closed" because no service is listening on it..
 
 1) is CCcam service running? you said you've started it.. are you sure it's still running?
 
 hint: ps will tell you
 
 2) is CCcam service configured to listen to port 12000?
 
 hint: netstat will tell you
 
 HTH
 Ciao
 Stefano
- 
				you are right it started but is not running
 its litening on port 12000
- 
				how i put the service running?
 
- 
				Nokia390
 
 See the Developer Manual
 http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual
 
 http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual#Process_startup.2C_supervision_and_shutdown
 
- 
				thanks i´m gone read it
			
- 
				rpm -Uvh http://sme.swerts-knudsen.com/downloads/dmc-mitel-portopening-0.0.1-4.noarch.rpm
 /etc/e-smith/events/actions/navigation-conf
 
 
 Nice, it works
 the service are runing and whith this contrib it make open the port.
 Thanks a lot