Koozali.org: home of the SME Server

Remote access

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
Remote access
« on: July 25, 2007, 01:54:47 AM »
Is there anyway to have remote access to SME server-manager now?

With the closing of the localhost:980 loophole, it appears as though this is now impossible, unless there is another way. The webconsole contrib just runs a Java applet to produce the same result as a putty session.

Regards

"Remote Administrator"
smoke-free since June 24th, 2004............

Offline del

  • *
  • 765
  • +0/-0
Remote access
« Reply #1 on: July 25, 2007, 04:54:15 AM »
Under Remote Access there is a heading called Remote Management, you can add the IP address of another network here and then log in from that network, all can be found in the administrator manual here:
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter11#Remote_Access

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
Remote access
« Reply #2 on: July 25, 2007, 06:40:02 AM »
I appreciate that, but the network I wish to connect from can vary - especially if connecting via the internet. Any further thoughts? This woudl work fine if one were trying to access SME from the same spot every time.!
smoke-free since June 24th, 2004............

Offline shell

  • ****
  • 117
  • +0/-0
Remote access
« Reply #3 on: July 25, 2007, 06:50:37 AM »
What about VPN first?  Then you are considered local from where-ever...

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
Remote access
« Reply #4 on: July 25, 2007, 01:31:14 PM »
hmm - sound sfine - although I have not had  any success in the vpn stakes!

What is considered to be the best option for VNC, and preferably easy and reliable?

Next month I may have to try to support SME servers in Australia from East Africa!!

Nigel
smoke-free since June 24th, 2004............

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Re: Remote access
« Reply #5 on: July 25, 2007, 02:28:37 PM »
Quote from: "nigeltodd"
Is there anyway to have remote access to SME server-manager now?

With the closing of the localhost:980 loophole, it appears as though this is now impossible, unless there is another way. The webconsole contrib just runs a Java applet to produce the same result as a putty session.

Regards

"Remote Administrator"

Well it's a tedius task, but you can always login as admin and use server-manager from the console. Or just check the curent ip and enter it and then use the server-manager as you normaly do.

That's how i use it. Use ssh (with certificates off course) and then login as admin and enter the ip under Remote Access. Then just do what you normaly do and then delete the remote access entry.
"It should just work" if it doesn't report it. Thanks!

Offline del

  • *
  • 765
  • +0/-0
Remote access
« Reply #6 on: July 25, 2007, 02:51:22 PM »
Quote
hmm - sound sfine - although I have not had any success in the vpn stakes!
neither did I until I tried OpenVNP, there is a good thread on it here: http://forums.contribs.org/index.php?topic=33043.0
Alternatively I have used BPIVK's ssh trick which like he says is tedious but effective :D

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Remote access
« Reply #7 on: July 25, 2007, 05:11:54 PM »
Try tunneling port 443 instead of port 980 - then browse to https://localhost/server-manager.

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
Remote access
« Reply #8 on: July 26, 2007, 02:14:26 PM »
hmm  - just direct 443 to where?

if this works it will be great!~!
smoke-free since June 24th, 2004............

Offline mmccarn

  • *
  • 2,651
  • +10/-0
Remote access
« Reply #9 on: July 26, 2007, 03:57:53 PM »
Code: [Select]
c:\path\to\putty.exe <smeserver> -P <sshd_port> -l root -L 443:127.0.0.1:443

Now browse to https://localhost/server-manager

Basically, replace 980 with 443 wherever you used to use 980.

Also, if you login using your old port 980 tunnel, just go back to http://localhost:980/server-manager after logging in and getting the error, and server-manager pops up as good as ever...

Offline nigeltodd

  • ****
  • 82
  • +0/-0
    • http://nigelt.dyndns.org
Remote access
« Reply #10 on: July 27, 2007, 02:51:09 AM »
Brilliant - thank you - am so glad there is still a loophole!

Cheers
smoke-free since June 24th, 2004............