ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] прозрачный прокси и несколько локальных подсеток
Date: Mon, 10 Jul 2006 13:13:04 +0400
Message-ID: <44B21A20.2060205@altlinux.ru> (raw)

Появилось желание поднять прозрачный прокси..Точнее он уже есть на 
тестовом сервере и даже работает.. Но встала 1 задача - добиться чтоб на 
несколько локальных подсеток трафик ходил мимо прокси.
На сколько я понимаю в правиле для iptables нельзя несколько -d указать.
Что здесь можно придумать?

# iptables -t NAT -A PREROUTING -d ! адрес_самого_сервера \
	-i внутренний_сетевой_интерфейс -p tcp -m tcp --dport 80 \
-j REDIRECT --to-ports 3128




-- 
   np: silence ( Winamp ушел в Партизаны ;-)


             reply	other threads:[~2006-07-10  9:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-10  9:13 Anton Gorlov [this message]
2006-07-10  9:24 ` Шенцев Алексей Владимирович
2006-07-10  9:37   ` Anton Gorlov
2006-07-10  9:58     ` Шенцев Алексей Владимирович
2006-07-10 10:15       ` Anton Gorlov
2006-07-10 10:51         ` Шенцев Алексей Владимирович
2006-07-10 11:01           ` Anton Gorlov
2006-07-10  9:55 ` Dank Bagryantsev

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=44B21A20.2060205@altlinux.ru \
    --to=stalker@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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