From owner-FreeBSD-users-jp@jp.FreeBSD.org Sat Nov 15 19:27:55 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) id hAFARtA01476;
	Sat, 15 Nov 2003 19:27:55 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from mpb3.plala.or.jp (c154240.vh.plala.or.jp [210.150.154.240])
	by castle.jp.FreeBSD.org (8.11.6p2+3.4W/8.11.3) with ESMTP/inet id hAFARtM01471
	for <FreeBSD-users-jp@jp.FreeBSD.org>; Sat, 15 Nov 2003 19:27:55 +0900 (JST)
	(envelope-from ys@rain.plala.or.jp)
Received: from ga8ge667 ([219.165.164.199]) by mpb3.plala.or.jp with SMTP
          id <20031115102755.METF27046.mpb3.plala.or.jp@ga8ge667>
          for <FreeBSD-users-jp@jp.FreeBSD.org>;
          Sat, 15 Nov 2003 19:27:55 +0900
Message-ID: <006c01c3ab63$1f0c07e0$c801a8c0@ga8ge667>
From: "SEKI yasuyuki" <ys@rain.plala.or.jp>
To: <FreeBSD-users-jp@jp.FreeBSD.org>
References: <Sea2-F67oPB2EWrO8lx00012cbd@hotmail.com> <3FB5DE5E.C0B8C8D2@ht.sakura.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4927.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200
Reply-To: FreeBSD-users-jp@jp.FreeBSD.org
Precedence: list
Date: Sat, 15 Nov 2003 19:27:49 +0900
X-Sequence: FreeBSD-users-jp 77224
Subject: [FreeBSD-users-jp 77224] squid =?ISO-2022-JP?B?GyRCJE4bKEI=?=
 =?ISO-2022-JP?B?GyRCRikyYSVXJW0lLSU3QF9EaiRLJEQkJCRGGyhC?= 
Sender: owner-FreeBSD-users-jp@jp.FreeBSD.org
X-Originator: ys@rain.plala.or.jp
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+031103

squid$B$NF0:n$GG:$s$G$*$j$^$9!#(B

$B9=@.$O0J2<$NDL$j$G$9!#(B
$B<RFb%M%C%H(B| -- |FreeBSD&squid| -- |$B3F%/%i%$%"%s%H(B(172.19.5.180)

FreeBSD$B%^%7%s$O!"(BNIC$B$,#2Kg;I$5$C$F$*$j!"(B
fxp0:172.19.5.175
fxp1:$B%V%j%C%8$N0Y(BIP$B3d$j?6$jL5$7(B

$B$H$$$&4D6-$G$9!#(B

$B$3$N>uBV$G!"(BFreeBSD$B%^%7%s$K(Bsquid$B$r%$%s%9%H!<%k$7!"%/%i%$%"%s%H$+$i$N(Bweb$B%"%/(B
$B%;%9$rF)2a%W%m%-%7$rDL$7$F!"F0:n$5$;$?$$$N$G$9!#(B


$B%+!<%M%k$KM?$($?%*%W%7%g%s$O!"(B
options         BRIDGE
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPFIREWALL_FORWARD

/etc/sysctl.conf$B$O!"(B
net.link.ether.bridge=1
net.link.ether.bridge_ipfw=1
net.link.ether.bridge_cfg=fxp0,fxp1

$B$G$9!#(B

squid.conf$B$O!"F)2a%W%m%-%7$r2DG=$K$9$k$?$a$K0J2<$N$h$&$K$7$^$7$?!#(B
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on


$B$=$7$F!"(Bipfw$B$K$O0J2<$N%(%s%H%j$rDI2C$7$^$7$?!#(B
ipfw add fwd 172.19.5.175,3128 tcp from any to any 80 bridged

$B$G$9$,!"%/%i%$%"%s%H$+$i$O!"(Bsquid$B$K$ON.$l$:$K!"AGDL$j$7$F(Bweb$B%"%/%;%9$K9T$C$F(B
$B$7$^$$$^$9!#(B
$B$3$N%k!<%k$N(Bipfw$B%+%&%s%?$OA}$($F$$$/$N$G$9$,!#!#(B


$B2?$+!"@_Dj$,B-$j$J$$$N$G$7$g$&$+!)(B

$B$h$m$7$/$465<x$*4j$$$7$^$9!#(B




