Skip site navigation (1)Skip section navigation (2)
From:      Brent B.Powers <powers@b2pi.com>
To:        freebsd-questions@freebsd.org
Subject:   With natd server, can't hit my own static IP's

| raw e-mail | index | archive | help

Greetings. With no small amount of help from this list a month or so
ago, I came up with an architechture with one gateway with 8 static
IP's. The seven of those that are aliased are forwarded via natd
redirect_address commands to the correct internal
servers. Pictorially:

           |                               |       |-- 192.168.1.0
           |                               |       |
           | alias xxx.xxx.xxx.0           |       |-- 192.168.1.1
           | alias xxx.xxx.xxx.1           |       |
           | alias xxx.xxx.xxx.2           |       |-- 192.168.1.2
           | alias xxx.xxx.xxx.3           |       |
           | alias xxx.xxx.xxx.4           |       |-- 192.168.1.3
           | alias xxx.xxx.xxx.5           |       |
           | alias xxx.xxx.xxx.6           |       |-- 192.168.1.4
[INET] --- | DE0   xxx.xxx.xxx.7       RL0 |----[]-|
           |                               |       |-- 192.168.1.5
           |                               |       |
           |                               |       |-- 192.168.1.6
           |                               |       |
           |                               |       |-- 192.168.1.7

Unfortunately, I've just noticed that I can't get to my own servers,
i.e. If I'm sitting at the console of, say, 192.168.1.4, and the whole
world knows that my webserver is at xxx.xxx.xxx.6. However, I can't
get there. If I try to touch anything other than .7, I get .7 (so my
webserver isn't found, for instance).

I realize this is muddled, but I can't quite figure out how to
clarify. Your patience is appreciated. Does anyone have any ideas on
how I can get the natd to work on both interfaces of the gateway?



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>