DNSmasq sets wrong gateway

Nethserver 8
DNSMasq

We used dhcp server on NS7 to manage our phones. But under NS8 the dnsmasq sets wrong IP for gateway. It sets IP of the Nethserver8 (10.2.2.11).
But gateway have to be 10.2.2.1.
How could I correct this ? In DNSmasq is no field to set the IP of gateway. Where could I do this ?

Hello!

The dnsmasq module can be opened up and customized as needed using configuration files. Documentation regarding on how to do it are available here: DNSMasq — NS8 documentation

Thank you, Tommasco,
… I read this before, but why sets DNSmasq this wrong gateway ?
Only one line in webfrontend could solute the problem…

It actually doesn’t set a wrong gateway, the DnsMasq module was provided to make up the NS7 installations that used the DHCP/DNS functions that weren’t ported to the new paradigm.

With this said, who used NS7 as a DHCP most of the time the DNS was the NS7 itself. We won’t be planning to support full functionalities of a full fledge DHCP/DNS on the module for NS8, suggesting the move to the NethSecurity 8 where it’s way more complete in functions.

With your current implementation may I suggest to manage the DHCP of the phones with whatever is gatewaying on the 10.2.2.1?

thank you,
I think, in my case it would be simpler to configure the dnsmasq at the base OS debian. We have since 2013 Firewall IPFIRE and are satisfied with this. Nethsecurity would be a second thing … Don’t be angry …

No worries! I’d just suggest to stick with the dnsmasq module then, in that case you can safely backup and restore the whole thing with a click.

… good I tested this,
It was a little bit difficult to find the right directory “dnsmasq.d” there were three.
But now it works …
wish you a nice evening !