Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2000 10:34:19 -0800 (PST)
From:      Philip Hallstrom <philip@adhesivemedia.com>
To:        freebsd-questions@freebsd.org
Subject:   Running natd on multiple interfaces???
Message-ID:  <Pine.BSF.4.10.10002011032430.39820-100000@mug.adhesivemedia.com>

next in thread | raw e-mail | index | archive | help
Hi -
	I have a rather strange question which needs some explaining.  I
need to run natd on two interfaces and can't get it to work right.

Here's my situation:


firewall:
  - ed0: 1.2.3.4, 1.2.3.5 (alias). External interface.
  - xl0: 10.0.0.1. Internal interface with my desktops on it.
  - xl1: 10.1.0.1. Internal interface with my servers.
  - natd is setup to redirect 1.2.3.5 to 10.1.0.2 (my www server).


Here's my problem.  DNS is setup so that www->1.2.3.5.  This will not work
from machines on the xl0 interface since natd only redirects traffic
coming into ed0.  On xl0, 1.2.3.5 ends up at my firewall, not my www
server. (I know I can run "fix" this with some fancy DNS, but it won't
really solve my problem)

How can I setup natd to run on xl0 and *only* have it redirect 1.2.3.5 to
10.1.0.2?  Is that possible?  I tried several different combinations of
options (including -reverse, -proxy_only, -n xl0, -redirect_addres ....)
but couldn't get any of it to work.
	I would prefer not to have the IP's "behind" xl0 get remapped to
10.0.0.1 if I can help it.

Thanks!

(Please cc me via email)

-philip




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?Pine.BSF.4.10.10002011032430.39820-100000>