ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] ftp пассивный режим и iptables
@ 2006-11-09 15:15 Igo
  2006-11-09 16:04 ` Sergei Boudnik
  2006-11-14 17:20 ` Anton Gorlov
  0 siblings, 2 replies; 10+ messages in thread
From: Igo @ 2006-11-09 15:15 UTC (permalink / raw)
  To: community

Чего не хватает чтобы пускал через пасивный режим

$IPTABLES -A INPUT -p TCP -s ipaddr --dport 20  -j ACCEPT
$IPTABLES -A INPUT -p TCP -d ipaddr --sport 20  -j ACCEPT
$IPTABLES -A INPUT -p TCP -s ipaddr --dport 21  -j ACCEPT
$IPTABLES -A INPUT -p TCP -d ipaddr --sport 21  -j ACCEPT
$IPTABLES -A INPUT -p TCP -m state --state ESTABLISHED,RELATED -j ACCEPT


[root@cerber sysconfig]# lsmod |grep ip
ipt_state                632   2  (autoclean)
iptable_filter          1732   1  (autoclean)
ipt_REDIRECT             920   2  (autoclean)
ip_conntrack_irc        3152   1  (autoclean)
ip_nat_irc              2448   0  (unused)
ip_nat_ftp              3024   0  (unused)
iptable_nat            17752   3  [ipt_REDIRECT ip_nat_irc ip_nat_ftp]
ip_tables              12248   6  [ipt_state iptable_filter ipt_REDIRECT 
iptable_nat]
ip_conntrack_ftp        3856   1
ip_conntrack           19944   2  [ipt_state ipt_REDIRECT 
ip_conntrack_irc ip_nat_irc ip_nat_ftp iptable_nat ip_conntrack_ftp]
[root@cerber sysconfig]#




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

end of thread, other threads:[~2006-11-14 17:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-09 15:15 [Comm] ftp пассивный режим и iptables Igo
2006-11-09 16:04 ` Sergei Boudnik
2006-11-09 16:14   ` Dmitriy L. Kruglikov
2006-11-09 16:46     ` Sergei Boudnik
2006-11-09 16:52       ` Dmitriy L. Kruglikov
2006-11-09 18:04         ` Sergei Boudnik
2006-11-09 16:48   ` Maxim Tyurin
2006-11-09 17:03     ` Andrii Dobrovol`s`kii
2006-11-09 18:15     ` Sergei Boudnik
2006-11-14 17:20 ` Anton Gorlov

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