ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Как развернуть SQUID ?
@ 2008-10-09 15:56 Vitalik Salomatin
  2008-10-09 16:37 ` Kharitonov A. Dmitry
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vitalik Salomatin @ 2008-10-09 15:56 UTC (permalink / raw)
  To: community

При обращении на мой 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?

чтобы закачивали только через прокси.

Спасибо.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-10 17:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-09 15:56 [Comm] Как развернуть SQUID ? Vitalik Salomatin
2008-10-09 16:37 ` Kharitonov A. Dmitry
2008-10-09 17:23   ` Vitalik Salomatin
2008-10-10  2:58     ` Kharitonov A. Dmitry
2008-10-09 16:49 ` Kharitonov A. Dmitry
2008-10-10 17:10 ` Vladimir V. Kamarzin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git