ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Nikita Semenov <nsemenov@instep.spb.ru>
To: Polovnikov Denis <community@altlinux.ru>
Subject: Re[7]: [Comm] iptables
Date: Thu, 8 Apr 2004 10:21:55 +0400
Message-ID: <101159949171.20040408102155@instep.spb.ru> (raw)
In-Reply-To: <481359553.20040408095538@lg-support.ru>

Здравствуйте.
У меня вот так:

$IPTABLES -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to-destination 192.168.1.66


Thursday, April 8, 2004, 9:55:38 AM, вы писали:

PD> Здравствуйте, Nikita.

PD> Вы писали 7 апреля 2004 г., 14:55:00:

NS>> Здравствуйте.
NS>> А непрозрачно работает?

PD> Напрямую Squid работает. Не работает переброс.

PD> В сквиде все прописано как положено, но почемуто мануалы по настройке
PD> все для ipchaшns а iptables нефига нет. :-(

PD> http_port 3128
PD> httpd_accel_host virtual
PD> httpd_accel_port 80
PD> httpd_accel_with_proxy on
PD> httpd_accel_uses_host_header on 


NS>> Wednesday, April 7, 2004, 2:20:18 PM, вы писали:

PD>>> Здравствуйте, Mike.

PD>>> Вы писали 7 апреля 2004 г., 8:24:19:

PD>>> Спасибо всем за помощь с натом заработало :-) Теперь остается вопрос с
PD>>> тем как перенаправить пакеты с 80 порта на 3128 для прозрачного
PD>>> прокси. Порылся в архиве рассылки и нашол что надо прописать следуещее

PD>>> iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128

PD>>> Squid я уже настроил. Но почему то пакеты не перенаправляются :-(












-- 
Best regards,
Nikita Semenov
System Administer
InterStep
+7(812)324-8020
nikita@inter-step.ru
ICQ: 3939833



  reply	other threads:[~2004-04-08  6:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-06  9:01 Polovnikov Denis
2004-04-06  9:01 ` Nikita Semenov
2004-04-06  9:09   ` Gennadiy Redko
2004-04-06 11:55 ` Alexey Morsov
2004-04-06 13:35   ` Re[2]: " Polovnikov Denis
2004-04-06 13:56     ` Alexey Morsov
2004-04-07  4:24     ` Re[2]: " Mike Lykov
2004-04-07  9:22       ` Re[4]: " Polovnikov Denis
2004-04-07 10:20       ` Polovnikov Denis
2004-04-07 10:29         ` Mike Lykov
2004-04-07 10:36           ` Alexey Morsov
2004-04-07 10:55         ` Re[5]: " Nikita Semenov
2004-04-08  5:55           ` Re[6]: " Polovnikov Denis
2004-04-08  6:21             ` Nikita Semenov [this message]
2004-04-08  9:57               ` Re[8]: " Polovnikov Denis
2004-04-08 11:15                 ` Alexey Morsov
2004-04-08 12:38                   ` Re[2]: " Polovnikov Denis
2004-04-08 12:46                     ` Alexey Morsov
2004-04-08 15:40                       ` Roman Savochenko
2004-04-09  3:38                         ` Mike Lykov
2004-05-06  9:09                         ` Alexey Morsov

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=101159949171.20040408102155@instep.spb.ru \
    --to=nsemenov@instep.spb.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