From: "kastelli@smtp.ru" <kastelli@smtp.ru> To: community@altlinux.ru Subject: Re: [Comm] Закрытие порта iptables Date: Thu, 10 Feb 2005 10:35:05 +0200 Message-ID: <200502101035.05704.kastelli@smtp.ru> (raw) In-Reply-To: <200502100907.16771.kastelli@smtp.ru> В сообщении от Четверг 10 Февраль 2005 09:07 kastelli@smtp.ru написал(a): > --skip-- > telnet работает по ТСР-порту 23, следдовательно правило должно выглядеть > так: > iptables -A FORWARD -s $COMPUTER7_IP --dport 23 -j DROP поправочка: iptables -A FORWARD -p tcp -s $COMPUTER7_IP --dport 23 -j DROP > тогда $COMPUTER7_IP не сможет пойти telnet-ом куда-либо... если нужно, чтоб > к нему никто не ходил, то пишем так: > iptables -A FORWARD -d $COMPUTER7_IP --dport 23 -j DROP аналогично: iptables -A FORWARD -p tcp -d $COMPUTER7_IP --dport 23 -j DROP
next prev parent reply other threads:[~2005-02-10 8:35 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-02-09 14:32 Jury Levykin 2005-02-09 14:36 ` Serge Polkovnikov 2005-02-09 14:45 ` Jury Levykin 2005-02-09 15:26 ` Serge Polkovnikov 2005-02-09 17:07 ` Jury Levykin 2005-02-09 17:39 ` Maxim Tyurin 2005-02-09 19:06 ` Jury Levykin 2005-02-09 15:19 ` Maxim Tyurin 2005-02-10 7:07 ` kastelli 2005-02-10 8:35 ` kastelli [this message] 2005-02-10 8:26 ` Alexey Morsov 2005-02-11 8:21 ` Jury Levykin 2005-02-11 8:26 ` Serge Polkovnikov
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=200502101035.05704.kastelli@smtp.ru \ --to=kastelli@smtp.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