Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: ElFroggio on June 16, 2014, 11:21:58 PM
-
Hi,
I have sme 8.1 and I have problem accessing server manager remotely.
Wan --router -- sme (as stand alone server) -- inside network
I have a Putty that logs me in to the console and that works. I can launch elinks and do what I need to do but I don't like elinks. I'd rather use firefox on my laptop. For that I have created a tunnel for 443. (L443 127.0.0.1:443)
https://localhost/server-manager gives me the page is not accessible.
I have checked the many pages that mention putty+tunnel they all they create the tunnel then after logging on, https://localhost-server-manager ...
Any suggestion on what to look for?
Thanks
Syv
-
Try
https://localhost/server-manager
Cheers
Ian
-
Try
https://localhost/server-manager
That's what I did, as I explained in the original post and I get page not accessible
Thanks
Syv
-
Perhaps I should read more, if SSH is working and you are logging in with putty..duuhhhh
Have you enabled remote access in server manager?
-
Have you enabled remote access in server manager?
When I'm on my local network, it works. I thought that the point of the tunnel is to make it local and not remote?
Thanks
Syv
-
Why are you not using SME Server as your router, in server and gateway mode?
-
When I'm on my local network, it works. I thought that the point of the tunnel is to make it local and not remote?
So what are your Remote Access - Secure Shell Settings settings in Server Manager?
-
ElFroggio
Just to clarify: Are you connecting by Putty first - and leaving it connected - before you open the browser?
I found that if I opened the browser first, then used Putty, the browser could not connect to my SME.
It has to be Putty first (and leave it connected because that provides the tunnel), then browser second.
Cheers
Ian
-
ElFroggio
Just to clarify: Are you connecting by Putty first - and leaving it connected - before you open the browser?
I found that if I opened the browser first, then used Putty, the browser could not connect to my SME.
It has to be Putty first (and leave it connected because that provides the tunnel), then browser second.
Cheers
Ian
1. Putty connection
2. Log in as root
3. keep putty and Switch to FF
4. Address bar: https://localhost/server-manager or https://127.0.0.1/server-manager (which is localhost) and page not available.
but
1. Putty connection
2. Log in as root
3. elinks: https://localhost/server-manager works fine
So I think that it has to do with my tunnel and/or forwarding of 443 and I'm doing something wrong but I don't know what
Thanks
Syv
-
are you able to do it without putty ?
http://wiki.contribs.org/Useful_Commands#Access_to_the_server-manager_through_SSH
-
are you able to do it without putty ?
http://wiki.contribs.org/Useful_Commands#Access_to_the_server-manager_through_SSH
1. I have never tried to access server-manager without the putty from outside of the network
2. I have often connected w/o problem to the command line /server through SSH straight w/o putty.
I will only be able to try that next week when I'm out.
Thanks
Syv
-
ElFroggio
to use with putty this command line :
user@[your-pc]$ ssh user@[public-ip] -p 31337 -L 6660:localhost:443
1) port 31337 (just an exemple u can use one of the 65535 numbers of port) > u need to open the port 31337 in your router (firewall) and to forward it to the SME Server
2) in the SME Server > change the SSH port to 31337 if it was 22 >;-)
3) enter the good configuration in Putty >
Session panel : IP address=public-ip Port=31337
SSH Tunnels panel : Source port=6660 Destination=127.0.0.1:443 > [Add] > [Open]
4) use your favorite browser with https://127.0.0.1:6660/server-manager
:-X