ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexei Takaseev <alexei@taf.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: Re: [Comm] squid & ftp
Date: Sun, 1 Aug 2004 23:07:29 +0900
Message-ID: <20040801230729.22a6f47a.alexei@taf.ru> (raw)
In-Reply-To: <410CF63B.7030803@aeroflot-don.ru>

On Sun, 01 Aug 2004 17:55:07 +0400
Igo <igo@aeroflot-don.ru> wrote:

> Привет всем
> Можно ли как нибудь в iptables перенаправить запросы идущие на  ftp на
> 
> squid?
> Пробывал.
> $IPTABLES -t nat -A PREROUTING -p TCP --dport 21 -j REDIRECT --to-port
> 3128$IPTABLES -t nat -A PREROUTING -p TCP --dport 20 -j REDIRECT
> --to-port 3128$IPTABLES -t nat -A PREROUTING -p UDP --dport 21 -j
> REDIRECT --to-port 3128$IPTABLES -t nat -A PREROUTING -p UDP --dport
> 20 -j REDIRECT --to-port 3128 Непомогает

И не поможет. Так как тот ftp, при котором браузеры ходят через squid
называется ftp over http.

> Проблема в том, что IE глючная зараза, всеравно перенаправляет на 21, 
> хотя порт ему указал 3128. Версия IE  6.0.2800.
> А то ходят мимо squid.

Точно не моню, но там надо в свойствах обозревателя выставить то ли
показывать ftp в виде папок, то ли наоборот убрать.


  reply	other threads:[~2004-08-01 14:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-01 13:55 Igo
2004-08-01 14:07 ` Alexei Takaseev [this message]
2004-08-02  6:14   ` Alexey Morsov
2004-08-02  7:37     ` Nizamov Shavkat

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=20040801230729.22a6f47a.alexei@taf.ru \
    --to=alexei@taf.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