From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 Message-ID: <48EE3352.6030404@rambler.ru> Date: Thu, 09 Oct 2008 20:37:38 +0400 From: "Kharitonov A. Dmitry" User-Agent: Thunderbird 2.0.0.14 (X11/20080719) MIME-Version: 1.0 To: Vitalik Salomatin , ALT Linux Community general discussions References: In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] =?koi8-r?b?68HLINLB2tfF0s7V1NggU1FVSUQgPw==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 16:37:30 -0000 Archived-At: List-Archive: List-Post: Vitalik Salomatin пишет: > При обращении на мой Web сервер по http я командой > iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 > весь трафик, приходящий на порт 80 перенаправляю на порт 3128 > > Помечаю пакеты > > iptables -A PREROUTING -i eth0 -t mangle -p tcp --dport 80 -j MARK --set-mark 2 > > Как повернуть их на мой squid? > > чтобы закачивали только через прокси. > > Спасибо. > в конфигурации squida # #Default: # http_port 3128 # # Squid normally listens to port 3128 http_port 3128 transparent