ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ilia Menchikh <meniluha@mailru.com>
To: community@altlinux.ru
Subject: Re: [Comm] IPTABLES more problem
Date: Thu, 9 Jan 2003 10:15:39 +0300
Message-ID: <20030109101539.4d349381.meniluha@mailru.com> (raw)
In-Reply-To: <20030109111242.0e470ad3.gosha@zkb.ru>

On Thu, 9 Jan 2003 11:12:42 +0500
Igor Solovyov <gosha@zkb.ru> wrote:

> Hi All!
> 
> Как говорится "чем дальше в лес, тем больше дров".
> Исследование iptables, как замены ipchains продолжается
> и пока ничего хорошего я не добился. :-((
> 
> В общем-то в основном все работает, но три неразрешимые (надеюсь
> пока) проблемы остались.
> 
> 1. Не работает "Transparent proxy". Сразу оговорюсь, на этой же
> машине, без каких либо изменений, с этим работает ipchains.
> "Неработа" заключается в следующем: обрезаются адреса в запросе.
> Пример: в браузере набран адрес http://www.xxxx.ru/index.html,
> в логах сквида запрос виден как GET /index.html и естественно
> не проходит. Объяснения этому пока так и не удалось найти.
> (еще раз напомню - с ipchains на этой же машине все работает).

Стоит transparent proxy на Master+updates. Через iptables все ходят
нормально. 
iptables -t nat -A PREROUTING -p tcp --destination-port 80 \
-j REDIRECT --to-ports 3128
iptables -t nat -A PREROUTING -p tcp --destination-port 443 \
-j REDIRECT --to-ports 3128
И все жужжит.

Варианты: 
У виндовых машин остались левые адреса прокси-сервера.
Грабли с настройкой сквида.

2. А если так:
iptables -t nat -A PREROUTING -p tcp -d $IP --destination-port 490 \
-j DNAT --to-destination 192.168.63.120:490

> REDIRECT с машины 192.168.63.200:490 на машину 192.168.63.120:490
> не происходит. Никакой ругани в логах при этом нет. Сразу скажу,
> что во всех местах, где пакеты не пропускаются стоит -j LOG.
> А по логам видно, что при этом редиректе пакеты нигде не
> отфильтровываются, иначе я их увидел бы.
> Они просто исчезают в никуда. :-(((

А в INPUT явно разрешен коннект к 490 порту?

> 3. Безобразно работают машины из сетей, попадающих на этот рутер
> через тунели. 

Вот этого у меня нету (( 

-- 
Regards
Ilia Menchikh
JID ililina@jabber.vitamin-e.ru


  reply	other threads:[~2003-01-09  7:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-09  6:12 Igor Solovyov
2003-01-09  7:15 ` Ilia Menchikh [this message]
2003-01-09  7:57   ` Igor Solovyov
2003-01-09  8:20     ` Ilia Menchikh
2003-01-09 15:45       ` Igor Solovyov
2003-02-14 11:00         ` rider
2003-02-21  5:38           ` Igor Solovyov
2003-01-10  7:32 ` Владимир
2003-01-10 15:43   ` Igor Solovyov

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=20030109101539.4d349381.meniluha@mailru.com \
    --to=meniluha@mailru.com \
    --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