ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: aek <aek@taxpol.krasnoyarsk.su>
To: community@altlinux.ru
Subject: [Comm] ftp сквозь iptables
Date: Wed, 19 Feb 2003 14:55:59 +0700
Message-ID: <18622.030219@taxpol.krasnoyarsk.su> (raw)

Hello community,

есть правила
/sbin/iptables -A OUTPUT -o eth0 -p tcp --dport 21 -j ACCEPT
/sbin/iptables -A INPUT  -i eth0 -p tcp ! --syn --sport 21 -j ACCEPT
/sbin/iptables -A INPUT  -i eth0 -p tcp --dport 20 -j ACCEPT
/sbin/iptables -A OUTPUT -o eth0 -p tcp ! --syn --sport 20 -j ACCEPT
/sbin/iptables -A INPUT  -i eth0 -p tcp --sport 1024:65535 --dport 1024:65535 -j ACCEPT
/sbin/iptables -A OUTPUT -o eth0 -p tcp --sport 1024:65535 --dport 1024:65535 -j ACCEPT

как отключаю iptables, фтпишка работает без проблем.
как включаю iptables фтпишка соединяется,запрашивает логин, пароль,
говорит что все Ок, но при попытке сделать ls выпадает по тайм ауту.

Я гдето чегото не понимаю?

зы: просто ftp <host> (не ftp -p) и mc тормозит именно на этапе чтения
каталога.

-- 
Всех благ!
Анатолий

             reply	other threads:[~2003-02-19  7:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19  7:55 aek [this message]
2003-02-19  9:50 ` Maxim.Savrilov
2003-02-19 11:40   ` [Comm] Re[2]: " aek
2003-02-19 10:08 ` Sergey Indlin
2003-02-19 11:44   ` [Comm] Re[2]: " aek
2003-02-19 12:02     ` Mike Lykov
2003-02-19 15:12     ` Sergey Indlin
2003-02-19 12:39 ` Dmitry Lebkov
2003-02-20  3:07   ` [Comm] Re[2]: " aek
2003-02-20  6:06     ` vic ismakaev
2003-02-20  6:39       ` [Comm] Re[2]: " aek
2003-02-20  7:52 ` Alexander Vasiliev

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=18622.030219@taxpol.krasnoyarsk.su \
    --to=aek@taxpol.krasnoyarsk.su \
    --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