Author Topic: Zentyal as DNS Forwarder / Internet Accesss  (Read 1946 times)

jandoe

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Zentyal as DNS Forwarder / Internet Accesss
« on: September 06, 2016, 10:36:25 am »
Hello

I'm going to set up a small computer lab for a school. On the clients I use Xubuntu 16.04 LTS, the servers base on Ubuntu Server 14.04 LTS and Zentyal 4.1.

I managed to join (net ads join -U administrator) the clients to the Zentyal 4.1 (as Primary Domain Controller). In order to achieve this, I disabled the NetworkManager in Xubuntu and did a manual network interface configuration (/etc/network/interfaces):

Code: [Select]
auto wlan0
iface wlan0 inet static
    address 192.168.20.104
    netmask 255.255.255.0
    network 192.168.20.0
    broadcast 192.168.20.255
    dns-nameserver 192.168.20.10 (Zentyal Server)
    dns-search school.zone

The /etc/resolve.conf has then the entries

Code: [Select]
nameserver 192.168.20.10
search school.zone

Further, I use in Zentyal 4.1 my Router IP as DNS Forwarder. The problem I have, is, that I can reach the Internet with Firefox. What works, is an nslooukup to yahoo or an nslookup to google.

I have simulated all settings (client, server) in a virtualbox internal/nat network (internal client -> zentyal; zentyal dns forwarder -> nat nameserver -> internet) and everything works.

What are I'm missing to allow clients Internet through the Zentyal Sever?

Kind regards

jandoe

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Zentyal as DNS Forwarder / Internet Accesss
« Reply #1 on: September 06, 2016, 10:38:47 am »
there is a mistake: can / can't

Further, I use in Zentyal 4.1 my Router IP as DNS Forwarder. The problem I have, is, that I CAN'T reach the Internet with Firefox. What works, is an nslooukup to yahoo or an nslookup to google.'t

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Zentyal as DNS Forwarder / Internet Accesss
« Reply #2 on: September 07, 2016, 12:25:32 pm »
Hi,

I may be wrong, but I think the Gateway is missing on the client side.
Or it could be the firewall rules for http(s)...

Regards

Thomas

jandoe

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Zentyal as DNS Forwarder / Internet Accesss
« Reply #3 on: September 08, 2016, 08:10:52 am »
Hello Thomas

You are wright! Adding the gateway helps. But the internet connection is realy slow.

Kind regards

BerT666

  • Zen Warrior
  • ***
  • Posts: 228
  • Karma: +17/-0
    • View Profile
Re: Zentyal as DNS Forwarder / Internet Accesss
« Reply #4 on: September 08, 2016, 12:24:51 pm »
could you do a traceroute from server and (some) clients?
Maybe this gives you a hint where the "slowness" is...

Regards

Thomas