Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 1998 19:47:19 +0100
From:      "Steve Hicks" <steve@bucket.org>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   IPFW and NATD woes.
Message-ID:  <199807021850.TAA25446@slush.bucket.org>

next in thread | raw e-mail | index | archive | help
Hello all,

Please can you see if you can help with the following...

I have a machine with a public interface (ed0 194.159.240.116 and
194.159.240.124) and a private interface (ep0 192.168.1.1)

I have rebuilt my kernel with options IPFIREWALL and options IPDIVERT.
I have added the natd entry in /etc/services.

Now, what I want to do is take all traffic destined for 194.159.240.124,
translate it and send it out on ep0 to machine 192.168.1.2. However, I
still want all traffic destined for 194.159.240.116 to end up on the
firewall.

The main purpose of this exsercise is to control access to 192.168.1.2.

I have spent many hours so far looking through the man pages, the
handbook and various mailing list archives only to find that nearly
every related article is based around hanging a private network off a
PPP connection to an ISP. Can anyone help? Please?
--
------------------------------------------------------------------------
All the best - Steve Hicks                 http://www.bucket.org/~steve/
               steve@bucket.org



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?199807021850.TAA25446>