Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2003 23:31:52 +0100
From:      Peter Ulrich Kruppa <root@pukruppa.de>
To:        freebsd-questions@freebsd.org, pbrezny@purplecat.net
Subject:   squid proxy
Message-ID:  <3E501158.5000609@pukruppa.de>

next in thread | raw e-mail | index | archive | help
Sorry for answering this way, but I have lost the original thread somewhere.

I guess your gateway uses - like mine - two nics (mine are rl0 to the 
outside and rl1 to the inside).

It seems these two ipfw statements solve the problem:

# ipfw add 100 allow ip from any to any via rl0
This allows everything out via rl0 and
# ipfw add 200 fwd 127.0.0.1 tcp from any to any 80 recv rl1
this captures everything received from rl1 and sends it to squids port 80 .

Hope this helps,

Uli.

-- 
+-----------------------------------+
|        Peter Ulrich Kruppa        |
|          -  Wuppertal -           |
|              Germany              |
+-----------------------------------+



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?3E501158.5000609>