From: Igo <altlinux@aaanet.ru> To: community@lists.altlinux.org Subject: [Comm] ftp пассивный режим и iptables Date: Thu, 09 Nov 2006 18:15:46 +0300 Message-ID: <45534622.8030409@aaanet.ru> (raw) Чего не хватает чтобы пускал через пасивный режим $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]#
next reply other threads:[~2006-11-09 15:15 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-11-09 15:15 Igo [this message] 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
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=45534622.8030409@aaanet.ru \ --to=altlinux@aaanet.ru \ --cc=community@lists.altlinux.org \ /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