Hi all,

I'm using a Fonera2.0n as my main internet router at home. I have a
web server on 192.168.1.2 using ports 80 and 443. Prior to replacing
my DD-WRT router with my Fonera2.0n, I was able to address this
internal host with the external DynDNS name.

I appreciate there are multiple ways of resolving this, but I'd like
to document how best to achieve this for my family, particularly
because while I know what I can use to achieve these, I don't know
where to apply these changes on the Fonera.

I know it is possible to make a change to DNSMasq to add an alias
using this line

      address=/webserver.dns.name/192.168.1.2

I know it's also possible to force IPTables to make traffic from the
192.168.1.0/24 network bound towards the external address become
NATted so that both the source and destination addresses are changed
(source to an external or router address and destination to the
internal web server).

Is it more efficient to use the IPTables if all my client machines are
using WIFI and the server is using one of the wired ports? If my
machines specify their own DNS servers, is it worth "encouraging" them
all to use the local DNS server by doing a NAT to the local DNS server
and pretending it was the external one?

Many thanks in advance!
-- 
Jon "The Nice Guy" Spriggs LPIC-1 Certified

_______________________________________________
Development mailing list
[email protected]
http://fonosfera.org/mailman/listinfo/development

Reply via email to