<div><font face="courier new,monospace"><br></font></div><div><font face="courier new,monospace">I&#39;m not sure how Synology firmware works.<br></font></div><div><font face="courier new,monospace">adding &#39;dhcp-option=3,gateway.ip.address&#39; to your confguration file would do it.</font></div>

<div><font face="courier new,monospace">of course, you can specify your internet box as the gateway.<br></font></div><div><font face="courier new,monospace">or you can give your own address, but then,</font><font face="courier new,monospace"> you&#39;ld need to route your network traffic (iptables may be installed too).</font></div>

<div><font face="courier new,monospace"><br></font></div><div><font face="courier new,monospace">have you a shell access to the NAS? or do you configure dnsmasq through some web interface?<br></font></div><div><font face="courier new,monospace">you would also need two network interfaces, two IPs, two distinct networks (local/provider&#39;s box if kept as router, or local/internet if the box is configured as bridge)</font><font face="courier new,monospace"><br>

</font></div><div><font face="courier new,monospace">I bought a Qnap TS-509P a few months ago, in order to do that.<br></font></div><div><font face="courier new,monospace">Watching their linux booting was a pain in the ass (dunno what they put in it, obviously too much...).<br>

</font></div><div><font face="courier new,monospace">Also, having 5*2t disks, I was interested by ZFS (RAID-Z).<br></font></div><div><font face="courier new,monospace">The thing beeing those NAS usually have a 128/256/512M flash memory, and I didn&#39;t want to loose space on my disks to setup an OS.<br>

</font></div><div><font face="courier new,monospace">So I&#39;m using mfsBSD, which rely on mfsroot. the system is wrote once on the flash, I update the configuration files before reboot. everything else is loaded into memory (mdevices).<br>

</font></div><div><font face="courier new,monospace"><br></font></div><div><font face="courier new,monospace">Well... My point is, you may be able to do it (assuming you&#39;ve iptables and an ssh/telnet access).</font></div>

<div><font face="courier new,monospace">But if you want to use your NAS as *the* router for your local network, you may want to install an OS that can do it right...</font></div><div><font face="courier new,monospace"><br>

</font></div><div><font face="courier new,monospace"><br></font></div><div><font face="courier new,monospace">otherwise/tl;dr: dhcp-option=3,providers.box.ip.address<br></font></div><div class="gmail_quote"><br></div><div class="gmail_quote">

<br></div><div class="gmail_quote">On Thu, Dec 9, 2010 at 9:46 AM, John King III <span dir="ltr">&lt;<a href="mailto:waldo120@gmail.com">waldo120@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div>Hi, I&#39;ve just setup this program on my Synology server thanks to Robert who has packaged it for the Synology. Everything is working just fine, but I was hoping to be able to specify my gateway.</div>
<div> </div>
<div>A search through the config file (and its thorough comments) for gateway didn&#39;t bring up anything and I didn&#39;t find it when reading through it to familirize myself with the options.</div>
<div> </div>
<div>Right now it&#39;s using my Synology server&#39;s ip address for the DNS and DHCP server, which is good and expected, but I would think using my Synology server as the gateway to be pointless. I guess this utility is meant to be installed on a server that&#39;s acting as a firewall?</div>




<div> </div>
<div>Maybe there is even a way for it to, by default, use the gateway specified in the Synolgies ip address setup.</div>
<br>_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><span style="font-family:courier new,monospace">Samuel Martín Moro</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">{EPITECH.} tek5</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">CamTrace S.A.S</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  (+033) 1 41 38 37 60</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  1 Allée de la Venelle</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">  92150 Suresnes</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  FRANCE</span><br style="font-family:courier new,monospace"><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">&quot;Nobody wants to say how this works.</span><br style="font-family:courier new,monospace">

<span style="font-family:courier new,monospace">  Maybe nobody knows ...&quot;</span><br style="font-family:courier new,monospace"><span style="font-family:courier new,monospace">                      Xorg.conf(5)</span><br>