ejabberd - Comments for "Hostname &amp;quot;masquerading&amp;quot;" https://www.ejabberd.im/node/996 en Why do you have different https://www.ejabberd.im/node/996#comment-2126 <p>Why do you have different hostnames for the server? :-)</p> <p>I do it like this:</p> <ul> <li>WAN domain: example.org</li> <li>My router forwards port 5269 (and 5222 and 5223) to my server in my LAN.</li> <li>LAN domain: example.org</li> <li>My router does DHCP and says to the clients that my server is the primary DNS server.</li> <li>My server runs <noindex><a href="http://www.maradns.org/" rel="nofollow" >maraDNS</a></noindex></li> <li>When a computer in my LAN tries to resolve example.org, it gets the local IP via my local maraDNS server (instead of the WAN IP!).</li> </ul> <p>--<br /> sander</p> Sat, 12 Aug 2006 13:45:25 +0000 sander comment 2126 at https://www.ejabberd.im