Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2001 13:28:39 -0600 (CST)
From:      Nick Rogness <nick@rogness.net>
To:        John Heyer <john@snake.supranet.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: natd -reverse
Message-ID:  <Pine.BSF.4.21.0102131316480.92630-100000@cody.jharris.com>
In-Reply-To: <Pine.BSF.4.21.0102131228590.27343-100000@snake.supranet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Feb 2001, John Heyer wrote:

> 
> Can anybody tell me what firewall rules I should be using to run natd
> -reverse -n <internal NIC>?  I want to use proxy_rule to transparent
> caching via localhost:3128, but can't get natd -reverse running.  I only
> have one internal interface.  thanks

	I wouldn't use NAT for this purpose.  ipfw fwd was designed
	specifically for this use (from what I've read).

	ipfw add fwd 127.0.0.1,3128 tcp from any to any 80 \
	out recv $INSIDE_INT xmit $OUTSIDE_INT

	Make sure your kernel was build with IPFIREWALL_FORWARD first.


Nick Rogness <nick@rogness.net> 
- Keep on routing in a Free World...
  "FreeBSD: The Power to Serve!"



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.21.0102131316480.92630-100000>