Koozali.org: home of the SME Server

server mode only

Offline input

  • ****
  • 94
  • +0/-0
server mode only
« on: July 12, 2015, 08:00:59 AM »
Hello,
I yust installed SME 9.1 and after installing I would like to use the server-manager.
But I do not have acces to the server-manager while browsing to https://loek/server-manager/
I thought maby because the firewall so I used iptables -F INPUT, iptables -F OUTPUT, iptables -F forward. But no luck at all. I can ping the ipadres from the smeserver,but I cannot ping my other machine on 192.168.178.12 and also I can not ping for example www.google.nl. it says Network unreachable. Is there some documentation about how to configure SME in server mode only?

Thank you

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: server mode only
« Reply #1 on: July 12, 2015, 10:34:05 AM »
please, give us all the details about your setup

you're just telling us "it doesn't work" which is useless to help you

finally, don't mess your server with CLI if you don't know exactly what you're doing: no need to touch iptables to access server-manager (if your client is in  the same lan than server)

Offline input

  • ****
  • 94
  • +0/-0
Re: server mode only
« Reply #2 on: July 12, 2015, 10:57:29 AM »
please, give us all the details about your setup

you're just telling us "it doesn't work" which is useless to help you

finally, don't mess your server with CLI if you don't know exactly what you're doing: no need to touch iptables to access server-manager (if your client is in  the same lan than server)

Thank you for the reply.
I setup the SME server as server only because I have only one networkcard.
My Server ipadres is set to 192.168.207.1 and my Gateway ipadres is set to 192.168.207.0
So far I can ping on my SME server 192.168.207.1 but not to ping -b 192.168.207.1.
Now I tried to ping to my client 192.168.178.12 and then I get network unreachable.
Also with connecting from my client to https://loek/server-manager/ will not work.
Is this a firewall issue ? and is the SME server using iptables as a firewall ?

Thanks

« Last Edit: July 12, 2015, 11:01:37 AM by input »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: server mode only
« Reply #3 on: July 12, 2015, 11:01:30 AM »
your clients are in a different lan, so they can't "see" SME.. and you can't reach server-manager from them if you don't add the clients lan to the local networks (you need a router between two lans)

if you need to access server-manager, login as root and
Code: [Select]
elinks

Offline input

  • ****
  • 94
  • +0/-0
Re: server mode only
« Reply #4 on: July 12, 2015, 11:24:39 AM »
your clients are in a different lan, so they can't "see" SME.. and you can't reach server-manager from them if you don't add the clients lan to the local networks (you need a router between two lans)

if you need to access server-manager, login as root and
Code: [Select]
elinks

That is strange because yesterday I installed 8.1 with server mode only and then suddenly I could login the server-manager from my browser with https://loek/server-manager.
Only what I configure with some firewall rules I can't remember anymore

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: server mode only
« Reply #5 on: July 12, 2015, 11:27:52 AM »
input

you are giving us NO details
"I did..", "it doesn't work.."

we have no way to help you
we need logs, error messages, all details about your setup (ip, netmask and so on)
we don't know anything about your setup nor we see your screen.. you're our eyes, so, please, if you need help, help us to help you

Offline input

  • ****
  • 94
  • +0/-0
Re: server mode only
« Reply #6 on: July 12, 2015, 11:38:20 AM »
input

you are giving us NO details
"I did..", "it doesn't work.."

we have no way to help you
we need logs, error messages, all details about your setup (ip, netmask and so on)
we don't know anything about your setup nor we see your screen.. you're our eyes, so, please, if you need help, help us to help you
Why could you not tell me if SME server use iptables as a firewall, because I can not paste from   the SME server errors because I do not have internet connection.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: server mode only
« Reply #7 on: July 12, 2015, 11:44:07 AM »
yes, SME uses iptables, but it's not only a fw issue

give us details, thank you (last request from me, sorry)

Offline input

  • ****
  • 94
  • +0/-0
Re: server mode only
« Reply #8 on: July 12, 2015, 12:01:14 PM »
yes, SME uses iptables, but it's not only a fw issue

give us details, thank you (last request from me, sorry)
Well Ï started with the menu and my domainname is dompeling-ict.nl
My systemname is loek
ipadres for this server is 192.168.207.1
subnetmask is 255.255.255.0
from the menu is set to server only.
Gateway is set to 192.168.207.0
Provide DHCP service
I did not add a DNS ipadres from the menu
After a reboot I have no acces to the server-manager with a browser to https://loek/server-manager/.
Next thing I will do is looking in var/log messages

Thanks


Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: server mode only
« Reply #9 on: July 12, 2015, 12:06:12 PM »
ipadres for this server is 192.168.207.1
subnetmask is 255.255.255.0
Gateway is set to 192.168.207.0

This is unlikely to work. With a 255.255.255.0 (or /24) netmask, 192.168.207.0 is the network address, and so, it's not a valid IP address, and cannot be used as a gateway.
In another post, you said that your client (from which you cannot reach the server-manager) is 192.168.178.12. This is another network. You should start with a simple setup, with only one network. Also, you're trying to reach your server with an non FQDN DNS name (https://loak/server-manager). Does the DNS server used by your client knows this name ?
C'est la fin du monde !!! :lol:

Offline input

  • ****
  • 94
  • +0/-0
Re: server mode only
« Reply #10 on: July 12, 2015, 12:13:37 PM »
This is unlikely to work. With a 255.255.255.0 (or /24) netmask, 192.168.207.0 is the network address, and so, it's not a valid IP address, and cannot be used as a gateway.
In another post, you said that your client (from which you cannot reach the server-manager) is 192.168.178.12. This is another network. You should start with a simple setup, with only one network. Also, you're trying to reach your server with an non FQDN DNS name (https://loak/server-manager). Does the DNS server used by your client knows this name ?
Yes in my other post I said that my ipadres was 192.168.178.12 but I looked again and now the ipadres is 192.168.178.11.
I will try again :-?

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: server mode only
« Reply #11 on: July 12, 2015, 12:15:45 PM »
Yes in my other post I said that my ipadres was 192.168.178.12 but I looked again and now the ipadres is 192.168.178.11.

Doesn't change the problem. 192.168.178.<anything> is in a different network than 192.168.207.<anything> (when using a /24 netmask, which is nearly always the case with 192.168.x.y addresses)
C'est la fin du monde !!! :lol:

Offline input

  • ****
  • 94
  • +0/-0
Re: server mode only
« Reply #12 on: July 12, 2015, 12:33:08 PM »
Doesn't change the problem. 192.168.178.<anything> is in a different network than 192.168.207.<anything> (when using a /24 netmask, which is nearly always the case with 192.168.x.y addresses)
I installed SME 8.1 and now I used the ipadres 192.168.178.10 and now everthing is working 8-)

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: server mode only
« Reply #13 on: July 12, 2015, 12:35:09 PM »
Ok, but this doesn't give us a clue about why SME9 "is not working". You have two different networks, but we have no idea how they are inter-connected.
C'est la fin du monde !!! :lol:

Offline input

  • ****
  • 94
  • +0/-0
Re: server mode only
« Reply #14 on: July 12, 2015, 12:35:53 PM »
I installed SME 8.1 and now I used the ipadres 192.168.178.10 and now everthing is working 8-)
Oh no by the second login it is not working again while browsing to https://loek/server-manager/
 :-P