From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 28 Mar 2005 19:33:13 +0400 From: Igor Shevchenko X-Mailer: The Bat! (v3.0.1.33) Professional Organization: Pikos GmbH X-Priority: 3 (Normal) Message-ID: <803812660.20050328193313@emdev.ru> To: community@altlinux.ru Subject: Re[2]: [Comm] squid transparenr proxy In-Reply-To: <4247BE57.5090804@rambler.ru> References: <48690485.20050326210217@emdev.ru> <4247BE57.5090804@rambler.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mercury.usedns.com X-AntiAbuse: Original Domain - altlinux.ru X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - emdev.ru X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 15:33:18 -0000 Archived-At: List-Archive: List-Post: Hello Olvin, Monday, March 28, 2005, 12:20:39 PM, you wrote: > Igor Shevchenko wrote: >> =FA=C1=D0=C1=D2=C9=CC=D3=D1 =D5=D6=C5 =D3=CD=C5=D2=D4=C5=CC=D8=CE=CF. = bog.pp.ru =C9 =D0=CF=C4=CF=C2=CE=D9=C5 =CE=C5 =D0=CF=CD=CF=C7=C1=C0=D4. >> =E8=CF=DE=C5=D4=D3=D1 transparent proxy =CE=C1 squid =C9 iptables. =FE= =C9=D4=C1=CC =C4=CF=CB=C9, =D3=C4=C5=CC=C1=CC >> =D4=C1=CB(=EE=C1 =D7=D9=C8=CF=C4=C5 =C9=DA =CC=CF=CB=C1=CC=CB=C9 ,=CE= =C1 =D2=CF=D5=D4=C5=D2=C5 =CE=C1 =E1=EC=ED 2.4): >> =D7 squid.conf: >> http_port 3128 >> httpd_accel_host virtual >> httpd_accel_port 80 >> httpd_accel_with_proxy on >> httpd_accel_uses_host_header on >>=20 >> =D7 iptables =C4=CF=C2=C1=D7=C9=CC: >> iptables -t nat -A PREROUTING -i eth1 -d ! 192.168.3.0/24 -p tcp >> --destination-port 80 -j REDIRECT --to-ports 3128 >>=20 >> =E9 =CE=C5 =D2=C1=C2=CF=D4=C1=C5=D4. =FE=D4=CF =CD=CF=D6=CE=CF =D0=CF=D0= =D2=CF=C2=CF=D7=C1=D4=D8? > iptables -t nat -A PREROUTING -s 10.1.0.0/16 -i eth1 -p tcp -m tcp=20 > --dport 80 -j REDIRECT --to-ports 3128 =EE=C9 =C6=C9=C7=C1 =CE=C5 =D0=CF=CD=CF=C7=C1=C5=D4:( =ED=CF=D6=C5=D4 =C4=C5=CC=CF =D7 =D4=CF=CD, =DE=D4=CF squid =CE=C1 =D2=CF= =D5=D4=C5=D2=C5 =D3 =CD=C1=D3=CB=C1=D2=C1=C4=C9=CE=C7=CF=CD? --=20 Best regards, Igor mailto:ishevchenko@emdev.ru