Koozali.org: home of the SME Server

Cant access my SME9 outside of my local network

guest22

Re: Cant access my SME9 outside of my local network
« Reply #15 on: October 03, 2014, 11:43:00 PM »
That would be an unwise thing to do.

0.0.0.0/0.0.0.0 would indeed be unwise for it would open up server manager access to the whole world. Hence the hint to read the admin manual, whilst get things going for now.

Any other reasons why it would be unwise to assign a specific IP/Mask, for it is a dedicated default feature?

Offline Orest

  • *
  • 24
  • +0/-0
Re: Cant access my SME9 outside of my local network
« Reply #16 on: October 03, 2014, 11:51:37 PM »
@HF Nah it is not that challenging, and it is made in Albania language. Moslty it is based on sme server administration manual... but later maybe I can use it and some other work to make SME available in Albanian language.

@Charlie I know, I am just entering one specific IP not all 0.0.0.0/0.0.0.0.

Thank you both,

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Cant access my SME9 outside of my local network
« Reply #17 on: October 04, 2014, 05:03:14 AM »
@Charlie I know, I am just entering one specific IP not all 0.0.0.0/0.0.0.0.

That's a much better idea.

Offline Orest

  • *
  • 24
  • +0/-0
Re: Cant access my SME9 outside of my local network
« Reply #18 on: October 04, 2014, 10:32:15 AM »
Hello,

Where is the configuration file to modify the allowed networks for remote access through command line (ssh)?

guest22

Re: Cant access my SME9 outside of my local network
« Reply #19 on: October 04, 2014, 10:38:00 AM »
ssh allowed networks is all or none

config show sshd

Or you can use this http://wiki.contribs.org/SSH_Public-Private_Keys

Offline Orest

  • *
  • 24
  • +0/-0
Re: Cant access my SME9 outside of my local network
« Reply #20 on: October 04, 2014, 10:47:51 AM »
Maybe I was not clear RequestedDeletion. I want know if I can modify the remote management networks with putty(ssh) so I can allow a specific IP, and than I can access https://my-static-IP/server-manager/ with this IP.

Thanks

Offline Orest

  • *
  • 24
  • +0/-0
Re: Cant access my SME9 outside of my local network
« Reply #21 on: October 04, 2014, 10:49:53 AM »
In other words I want to allow my work network to access web-based server manager but I can not since the IP is not allowed, but I can access my server with ssh.
 

guest22

Re: Cant access my SME9 outside of my local network
« Reply #22 on: October 04, 2014, 10:53:31 AM »
If can ssh in, you can enter the 'console' command and select access server manager text based.

Offline Orest

  • *
  • 24
  • +0/-0
Re: Cant access my SME9 outside of my local network
« Reply #23 on: October 04, 2014, 11:02:11 AM »
Thanks man ... Also I appreciate If you tell me the configuration file location for this part.
It is possible to allow the a specif IP without using the "console" command, right?

Respect,

Offline Orest

  • *
  • 24
  • +0/-0
Re: Cant access my SME9 outside of my local network
« Reply #24 on: October 04, 2014, 11:04:07 AM »
I know it is pointless, but I am at learning phase  :-)

guest22

Re: Cant access my SME9 outside of my local network
« Reply #25 on: October 04, 2014, 11:07:58 AM »
config show httpd-admin

will show you all the options for server manager

server manager is a apache vhost and the config options for that are build by a signal-event based on templates and db variables. Direct changes httpd.conf will _not_ survive signal-events or updates.

guest22

Re: Cant access my SME9 outside of my local network
« Reply #26 on: October 04, 2014, 11:14:38 AM »
config setprop httpd-admin ValidFrom 192.168.1.1/255.255.255.0,10.1.1.1/255.255.255.0

would grant access to server manager from 192.168.1.1 AND 10.1.1.1

then:
expand-template /etc/httpd/conf/httpd.conf
signal-event remoteaccess-update
service httpd-admin restart

Should do it

Offline Orest

  • *
  • 24
  • +0/-0
Re: Cant access my SME9 outside of my local network
« Reply #27 on: October 04, 2014, 11:20:12 AM »
Ok I see,
I really appreciate the time you spent for me H.F, its clear I must go deeper with SME if I want some real understandings about this server.

I am going to make this post as [SOLVED]

See ya in my next post.

Thank you all,
Regards

Offline Orest

  • *
  • 24
  • +0/-0
Cant access my SME9 outside of my local network
« Reply #28 on: October 04, 2014, 01:29:10 PM »
Can I make my post [SOLVED]?
« Last Edit: October 04, 2014, 01:31:26 PM by Orest »

guest22

Re: Cant access my SME9 outside of my local network
« Reply #29 on: October 04, 2014, 02:39:16 PM »
Yes, you can. Modify your very first post and change the title.