ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Кочетков Владимир" <kvn@toltc.samen.elektra.ru>
To: community <community@altlinux.ru>
Subject: [Comm] Завернуть трафик на прокси
Date: Mon, 20 Jun 2005 13:41:00 +0500
Message-ID: <60271297.20050620134100@toltc.samen.elektra.ru> (raw)

Здравствуйте, community !

Ситуация такая. Есть шлюз в мою сеть, доступ в инет вся сетка получает
через прокси, установленный на нем. Прокси ходит через выделенный
виртуальный интерфейс. Сам прокси прозрачный, трафик на него
заворичивается в PREROUTING iptables.
Например:
-A PREROUTING -s 192.168.1.39 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080

Повторюсь, доступ в инет только через прокси. Или, если точнее, только
от ip адреса, заданного виртуальному интерфейсу, через который ходит
прокси.

Не могу придумать как завернуть трафик самого шлюза на прохождение
через прокси. Речь сейчас идет только об обновлении clamav.
Логичным представляется добавление аналогичного правила заворота в
цепочку OUTPUT, но по какому признаку отделить трафик clamav от
трафика самого прокси ?

-- 
С уважением,
 Кочетков Владимир                      mailto:kvn@toltc.samen.elektra.ru
 Тольяттинские тепловые сети




             reply	other threads:[~2005-06-20  8:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-20  8:41 Кочетков Владимир [this message]
2005-06-20  8:53 ` Alexey Morsov
2005-06-20  9:42   ` Re[2]: " Кочетков Владимир
2005-06-20 10:08     ` Alexey Morsov
2005-06-20 10:58       ` Re[2]: " Кочетков Владимир
2005-06-21 20:37 ` Pavel S. Khmelinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=60271297.20050620134100@toltc.samen.elektra.ru \
    --to=kvn@toltc.samen.elektra.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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