getting my own IP back

Eivind Olsen eivind at aminor.no
Tue Feb 18 20:49:40 UTC 2003


--On 18. februar 2003 09:21 -0600 julianop <julianop at mninter.net> wrote:
> I'll have to look into that method, as I only have a single IP.
> Thanks to you and JD for the helpful info. I'm sure O'Reilly will tell me
> how to configure bind to listen to an additional port for external
> requests, and I think I can drive the idiot 678. If you remember how to
> do it, though, I'd certainly appreciate a hint.

Hello. This is how I did it (with BIND 9, should hopefully be just the same 
with BIND 8).

options {
        [...some irrelevant options...]
        listen-on { 127.0.0.1; 213.187.177.2; 10.0.0.1; };
        listen-on port 54 { 127.0.0.1; 213.187.177.2; };
};

In this case, 213.187.177.2 is the external IP-address that the 
Cisco-router forwards to the internal server which runs on 10.0.0.1.
This example will make BIND listen on:

127.0.0.1 port 53 and 54
213.187.177.2 port 53 and 54
10.0.0.1 port 53 only.

The syntax on the Cisco is probably something like this (I'm not using this 
exact setup anymore..):

set nat entry add 10.0.0.1 54 213.187.177.2 53 tcp
set nat entry add 10.0.0.1 54 213.187.177.2 53 udp

-- 
Regards / Hilsen
Eivind Olsen
<eivind at aminor.no>


More information about the bind-users mailing list