From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <3F3D2FF6.9070602@beltel.ru> Date: Fri, 15 Aug 2003 23:09:42 +0400 From: Sergey Degtyaryov Organization: Beltel User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030802 Thunderbird/0.2a X-Accept-Language: en-us, en MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [Comm] =?KOI8-R?Q?=F0=D2=CF=DA=D2=C1=DE=CE=D9=CA_=D0=D2=CF?= =?KOI8-R?Q?=CB=D3=C9=3A_squid_+_iptables?= References: <3F3D28CA.6090106@rmts.donpac.ru> In-Reply-To: <3F3D28CA.6090106@rmts.donpac.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.2 Precedence: list Reply-To: community@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2003 19:17:29 -0000 Archived-At: List-Archive: List-Post: =F0=D2=CF=CB=CF=D0=D8=C5=D7 =E5=D7=C7=C5=CE=C9=CA wrote: > =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5! >=20 > =F7 Bandwith Limiting HOWTO =C9 =D7 IPTables Tutorial =E1=CE=C4=C5=D2=D3= =C5=CE=C1 =CE=C1=D0=C9=D3=C1=CE=CF, =DE=D4=CF=20 > =C4=CC=D1 =CF=D2=C7=C1=CE=C9=DA=C1=C3=C9=C9 =D0=D2=CF=DA=D2=C1=DE=CE=CF= =C7=CF =D0=D2=CF=CB=D3=C9 =C4=CF=D3=D4=C1=D4=CF=DE=CE=CF =D3=D4=D2=CF=CB=C9 >=20 > $IPTABLES -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports= =20 > 3128 >=20 > =D7 =D3=D4=C1=D2=D4=CF=D7=CF=CD =D3=CB=D2=C9=D0=D4=C5 iptables. >=20 > =EF=C4=CE=C1=CB=CF =D0=D2=C9 >=20 > # service iptables status | grep 3128 > REDIRECT tcp -- anywhere anywhere tcp dpt:htt= p=20 > redir ports 3128 >=20 > =C9 =DA=C1=D0=D5=DD=C5=CE=CE=CF=CD =D3=CB=D7=C9=C4=C5 =D0=CF=D0=D9=D4=CB= =C1 =C4=CF=D3=D4=D5=DE=C1=D4=D8=D3=D1 =C4=CF www.yandex.ru =C9=DA IE (Win= XP=20 > =D0=CF=C4 VMWare) =DA=C1=D7=C5=D2=DB=C1=C5=D4=D3=D1 =D3=CF=CF=C2=DD=C5=CE= =C9=C5=CD: >=20 > ERROR > The requested URL could not be retrieved > While trying to retrieve the URL: / > The following error was encountered: > * Invalid URL > Some aspect of the requested URL is incorrect. Possible problems: > * Missing or incorrect access protocol (should be `http://'' or=20 > similar) > * Missing hostname > * Illegal double-escape in the URL-Path > * Illegal character in hostname; underscores are not allowed > Your cache administrator is webmaster. >=20 > =E5=D3=CC=C9 =D7 =D3=CB=D7=C9=C4=C5 =D0=D2=C9=CE=D5=C4=C9=D4=C5=CC=D8=CE= =CF =D5=CB=C1=DA=C1=D4=D8 =D0=D2=CF=CB=D3=C9-=D3=C5=D2=D7=C5=D2 =C9 =D0=CF= =D2=D4, =D4=CF =D7=D3=C5=20 > =D2=C1=C2=CF=D4=C1=C5=D4 =CB=C1=CB =D0=CF=CC=CF=D6=C5=CE=CF. >=20 > =FE=D4=CF =D1 =D3=C4=C5=CC=C1=CC =CE=C5 =D4=C1=CB? >=20 [root@spb squid]# cat squid.conf|grep accel httpd_accel_port 80 httpd_accel_host virtual httpd_accel_with_proxy on httpd_accel_uses_host_header on --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =F3=C5=D2=C7=C5=CA =E4=C5=C7=D4=D1=D2=C5= =D7 XMMS : %s