Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 15:48:50 +0200
From:      Nevermind <never@mile.nevermind.kiev.ua>
To:        "Thomas T. Veldhouse" <veldy@veldy.net>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: IPFilter and bimap -vs- natd?
Message-ID:  <20010206154850.A29444@mile.nevermind.kiev.ua>
In-Reply-To: <003801c08fd9$bd0f8500$0100a8c0@cascade>; from veldy@veldy.net on Mon, Feb 05, 2001 at 07:11:30PM -0600
References:  <003801c08fd9$bd0f8500$0100a8c0@cascade>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Thomas T. Veldhouse!

On Mon, Feb 05, 2001 at 07:11:30PM -0600, you wrote:

> Right now I am using IPFilter and ipnat for my firewall.  I just found out that IPFW now supports stateful rules (how did I miss that - it has been there for awhile? :)  Anyway, I would like to be able to do the following:
> 
> 1.  I need to redirect port 80 to 3128 for transparent proxying of the web using Squid.
ipfw add fwd 192.168.0.1,3128 tcp from any to any 80 via dc0

You should include
options IPFORWARD
into your kernel.


For translating there is example in rc.firewall.

-- 
NEVE-RIPE


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




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