Koozali.org: home of the SME Server

Create remote login for Server Manager

TreeBeck

Create remote login for Server Manager
« on: May 22, 2005, 05:04:03 AM »
I would like to modify the sme-server to allow remote logins to the Server Manager via a SSL. Could someone point me in the correct direction. How does the default configuration work? If I can know how the default setting work I could reset it to allow remote login. Im not completely stupid to Linux but I am a "newb" so please be gentle.

Offline MSmith

  • *
  • 675
  • +0/-0
Create remote login for Server Manager
« Reply #1 on: May 22, 2005, 05:37:28 AM »
Your wish is granted ... just use a PPtP or other VPN to the network, then access Server Manager by its internal LAN IP.
...

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Create remote login for Server Manager
« Reply #2 on: May 22, 2005, 09:39:50 AM »
Quote from: "TreeBeck"
I would like to modify the sme-server to allow remote logins to the Server Manager via a SSL. Could someone point me in the correct direction.


You can open server-manager access to specific IPs or ranges via the Remote Access panel.

Quote from: "TreeBeck"
How does the default configuration work?


server-manager access is restricted to local networks by default.

Gordon
............

TreeBeck

Create remote login for Server Manager
« Reply #3 on: May 22, 2005, 03:51:42 PM »
Sorry for not being specific. I am aware that I can VPN to the server but what I want to do is to allow the Server Manager to be accessed by any IP in the outside world via SSL and password authentication. I am using SME in the server only configuration in a network similiar to a data center(client machines are not on the local network). To require the webmaster to VPN is not an option, they use windows only and do not have a understanding VPNs and such.

One other thing, could someone tell me how to get to a shell. I may be able to find most of my answers if I am able to see what is running under the hood.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Create remote login for Server Manager
« Reply #4 on: May 22, 2005, 04:46:51 PM »
Quote from: "TreeBeck"
To require the webmaster to VPN is not an option, they use windows only and do not have a understanding VPNs and such.


Creating a VPN connection from windows requires no VPN understanding, and is no more difficult than setting up a dialup connection from windows.

Search here and you'll find instructions for enabling shell access.

Offline MSmith

  • *
  • 675
  • +0/-0
Create remote login for Server Manager
« Reply #5 on: May 22, 2005, 05:47:35 PM »
If your SME server is server-only, then your outside "webmasters" must gain access somehow to the local network, yes?  And unless you're committing the security error of exposing your SME Server's LAN interface to the Internet at large -- thereby defeating its built-in security features -- then your outside users MUST do something such as RAS, BorderManager, PPtP or some other form of authentication to gain access to the local network.  Right?

Once inside, they can access the server manager and/or use a client such as WinSCP or PuTTY via the SME server's LAN IP.
...

Offline pcdoc

  • *
  • 56
  • +0/-0
Create remote login for Server Manager
« Reply #6 on: May 23, 2005, 01:34:18 AM »
run putty and select Connections - SSH - tunnels from the left menu, put 980 for the source port, and localhost:980 for the destination port.

once you have connected via putty (using SSH), and logged onto the remote server, open your browser and go to http://localhost:980. viola you now have remote access to the server manager from any external ip using ssh.

I maintain about 30 servers, and this is the way I do it remotely. makes it a hell of a lot easier to do.

you can also ssh into port 3306 and work on the MySQL database remotely using SSH if you want.
There are 10 types of people in this world,
   Those that know binary, and those who don't!

TreeBeck

Create remote login for Server Manager
« Reply #7 on: May 23, 2005, 01:52:53 AM »
I cannot tell the end user to VPN in to this server. I am dealig with your typical Windows user/web developer that will not VPN to a network. They bearly know how to FTP. What I want to do is modify the setting so that I can allow logins from outside the local network.
Basiclly I am looking for information on the configuration of the services that are running the Server Manager. Also how to exit the default admin screen on the server so I can gain shell access.
I have not worked with a Linux server for over a year so I aplogize if I sound a bit stupid.

Offline pcdoc

  • *
  • 56
  • +0/-0
Create remote login for Server Manager
« Reply #8 on: May 23, 2005, 02:05:01 AM »
for the second part of you question. press the ALT key and F2 for the second login screen, and ALT + F3 for the third screen. you can setup the default F1 screen for auto admin login, or to leave in at a login prompt in the setup.

for the first part of your query.

are you REALLY sure you want users outside your LAN on the internet to be able to remotely login to your network, not using VPN, SSH or any other security measure??

my suggestion would be to setup a MS Terminal Server on your LAN behind the SME server (SME = better protection) and use port forwarding to let port 3389 through to your Terminal Server. That would give you a reasonably amount of security, and still let your users do what they want.
There are 10 types of people in this world,
   Those that know binary, and those who don't!

TreeBeck

Create remote login for Server Manager
« Reply #9 on: May 23, 2005, 06:25:36 AM »
Thanks PC, that is a awesome solution, security and accessible. I will use that suggestion and see how it goes.
I was able to find some articles that should have me in the right direction for most of the configuration changes I have planned. I thank everyone who contributed to this thread. Time for a few beers and lots of reading. :pint: