Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 13:41:11 -0400 (EDT)
From:      Jaime <jaime@snowmoon.com>
To:        freebsd-questions@freebsd.org
Subject:   Bridge and proxy?
Message-ID:  <20020626133540.F1925-100000@malkav.snowmoon.com>

next in thread | raw e-mail | index | archive | help
	I'm trying to set up a FreeBSD 4.6 system for bridging and as a
transparent HTTP proxy.  I have the squid (tcp port 3128) and dansguardian
(tcp port 8080) ports installed and running well.  I have bridging in the
kernel and it is running well.  The topology is:

(ISP) -- (Router) -- (FBSD 4.6) -- (LAN's core switch)

	I have it working well enough that HTTP requests to port 80 are
passing through the FreeBSD box and working correctly.  However, they are
not going into DansGuardian (which passes the request to Squid).  I'm
using the following IPFW rules:

cerberus# ipfw list
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
01000 allow tcp from me to any
01100 allow tcp from any to me 80
01200 fwd 127.0.0.1,8080 tcp from any to any 80
01210 fwd 127.0.0.1,8080 tcp from any to any 8080
01220 fwd 127.0.0.1,8080 tcp from any to any 81
01230 fwd 127.0.0.1,8080 tcp from any to any 8000
65000 allow ip from any to any
65535 allow ip from any to any

	Any advice?

							Thanks in advance,
							Jaime


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?20020626133540.F1925-100000>