Koozali.org: home of the SME Server

Telnet Access

clockrock

Telnet Access
« 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

Offline dsemuk

  • *****
  • 269
  • +0/-0
Telnet Access
« Reply #1 on: April 30, 2006, 02:22:26 PM »
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
--
Esmith/Mitel/SME server  :-D...

clockrock

Telnet Access
« Reply #2 on: April 30, 2006, 02:40:16 PM »
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)

clockrock

Telnet Access
« Reply #3 on: May 01, 2006, 07:49:12 PM »
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...

clockrock

Telnet Access
« Reply #4 on: May 03, 2006, 11:56:37 PM »
I sorted it out, had to add the service recording to this post: http://forums.contribs.org/index.php?topic=30788.0