ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: community@altlinux.ru
Subject: Re: Re[3]: [Comm] IPtables вопрос
Date: Fri, 12 Nov 2004 01:05:37 +1000
Message-ID: <20041112010537.4208cdd8.dima@sakhalin.ru> (raw)
In-Reply-To: <1599647856.20041111172452@amos.ru>

On Thu, 11 Nov 2004 17:24:52 +0300
Ivanov Maxim <ivanov@amos.ru> wrote:

[skip]

> >>      iptables -A input -s 0/0 -d $INET_IP -p tcp --dport 25 -j ACCEPT
> >>      iptables -A input -s 0/0 -d $INET_IP -p tcp --dport 110 -j REJECT
> 
> А  на  эти  две  строчки ругается, что bad argument 'tcp' и предлагает
> попробовать iptables -h. Наверное, издевается :)

Возможно, важен порядок аргументов. Попробуй:

iptables -A input -p tcp -s 0/0 -d $INET_IP --dport 25 -j ACCEPT

--
WBR, Dmitry Lebkov


  reply	other threads:[~2004-11-11 15:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-11 13:22 Ivanov Maxim
2004-11-11 13:33 ` Alexey S. Kuznetsov
2004-11-11 14:17   ` Re[2]: " Ivanov Maxim
2004-11-11 14:24     ` Re[3]: " Ivanov Maxim
2004-11-11 15:05       ` Dmitry Lebkov [this message]
2004-11-11 14:34     ` Alexey S. Kuznetsov

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=20041112010537.4208cdd8.dima@sakhalin.ru \
    --to=dima@sakhalin.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