Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: clockrock on April 30, 2006, 12:07:44 PM
-
Is it possible to allow telnet access from the outside using a certain port, for example port 6000. I have a program listening on such a port, but I can only access this locally at the moment. I’m not looking to make shell access, just simply allowing outside use of this program/service and can this be done in a safe manner?
thanks
-
If the application is running on a machine within your LAN and your SMEServer is running in servergateway mode you can simply forward the required ports in Server Manager > Port Forwarding.
As for security Telnet isn't secure.
Dave
-
My machine is running in server only, behind a router which forwards the port I need using Virtual Server. From other posts it seems like telnet is disabled by default, but that has to do with shell access though, but maybe this could affect that I’m not able to connect using “outside” IP.
As for telnet not being secure, it’s not that big a deal for the service I need, I was more concerned about allowing it for this particular service only (if possible)
-
I have now installed the telnet-server.
Edited the telnet file and changed it to 'disable = no'
made sure it is up and running with netstat -l|grep telnet
tcp 0 0 *:telnet *:* LISTEN
I have tried uncomment the 'auth required pam securetty.so' in the /etc/pam.d/login as suggested on another board...
Still I'm only able to login locally, is there anything else i'm missing here, or are there any routines in sme that blocks it somewhere?
kinda lost...
-
I sorted it out, had to add the service recording to this post: http://forums.contribs.org/index.php?topic=30788.0