ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ftp сквозь iptables
@ 2003-02-19  7:55 aek
  2003-02-19  9:50 ` Maxim.Savrilov
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: aek @ 2003-02-19  7:55 UTC (permalink / raw)
  To: community

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 тормозит именно на этапе чтения
каталога.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-02-20  7:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-19  7:55 [Comm] ftp сквозь iptables aek
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

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