From: Alexey Morsov <samurai@ricom.ru> To: community@altlinux.ru Subject: Re: [Comm] squid & ftp Date: Mon, 02 Aug 2004 10:14:53 +0400 Message-ID: <410DDBDD.2090405@ricom.ru> (raw) In-Reply-To: <20040801230729.22a6f47a.alexei@taf.ru> Alexei Takaseev wrote: > 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. ИМХО не прокатит - в transparent squid каджеться только http протокол поддерживает (а чтоб мимо не ходили - надо закрыть порты iptables-ом. > > >>Проблема в том, что IE глючная зараза, всеравно перенаправляет на 21, >>хотя порт ему указал 3128. Версия IE 6.0.2800. >>А то ходят мимо squid. > > > Точно не моню, но там надо в свойствах обозревателя выставить то ли > показывать ftp в виде папок, то ли наоборот убрать. Не в папках дело - опция называется "Использовать пассивный FTP-протокол" -- Всего наилучшего, Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ" Алексей Морсов ICQ: 196766290 Jabber: Samurai@jabber.ru http://www.ricom.ru http://www.fondmarket.ru
next prev parent reply other threads:[~2004-08-02 6:14 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 2004-08-02 6:14 ` Alexey Morsov [this message] 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=410DDBDD.2090405@ricom.ru \ --to=samurai@ricom.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