From: Roman S <rromas@mailru.com> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] iptables É postfix Date: Tue Aug 28 14:56:11 2001 Message-ID: <200108281058.f7SAwW076538@www1.mailru.com> (raw) Цитирую John <john@rmts.donpac.ru>: > Roman S wrote: > > >>>iptables -P INPUT DROP > >>>iptables -P OUTPUT DROP > >>>iptables -P FORWARD DROP > >>>iptables -A INPUT -i ppp0 -p TCP --dport smtp -j ACCEPT > >>>iptables -A INPUT -o ppp0 -p TCP --sport smtp -j ACCEPT > >>> > > > >Во первых: > >Почему вы думаете, что исходящий трафик на SMTP пойдёт > >с 25-го порта? Это не так. > > > А с какого? C > 1024. Общая политика должна быть такова (как _упрощенный_ вариант): Входящий трафик 1) Запрещено всё кроме дальнейшего: 2) 0-1024 - открыто выборочно, по необходимости, что-то может только с определённых адресов... 3) Открыт (при необходимости) в диапазоне >1024 диапазон для traceroute и прочих служб, по перечню. Исходящий: Как входящий, но: Открыты порты > 1024, за вычетом портов по списку, которым не положено. > > > > > >Во вторых: > >Откройте DNS. Rgds! Roman Savelyev
next reply other threads:[~2001-08-28 14:56 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-08-28 14:56 Roman S [this message] 2001-08-28 19:14 ` [mdk-re] iptables и postfix Sergey Vlasov
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=200108281058.f7SAwW076538@www1.mailru.com \ --to=rromas@mailru.com \ --cc=mandrake-russian@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