From: "Dharmendra.T" <dharmu@nsecure.net>
To: Mattia Martinello <mattia@mattiamartinello.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Multiple -d flags
Date: 13 Jan 2003 16:34:48 +0530 [thread overview]
Message-ID: <1042455895.1886.3.camel@india> (raw)
In-Reply-To: <3E20826E.50308@mattiamartinello.com>
On Sun, 2003-01-12 at 02:15, Mattia Martinello wrote:
> Hi
>
> I wish to create a rule that allow a packet to a specified IP on a
> specified port.
>
> The rule:
>
> iptables -A FORWARD -s 0.0.0.0/0 -d 213.21.136.8/255.255.255.255 -dport
> 80 -j ACCEPT
>
> shows me the following error:
>
> iptables v1.2.5: multiple -d flags not allowed
> Try `iptables -h' or 'iptables --help' for more information.
>
> How I can solve my problem?
>
> Thank you very much
> Bye
> Mattia
>
>
You should specify --dport not "-dport"
REgards
--
Dharmendra.T
Linux Enthu
next prev parent reply other threads:[~2003-01-13 11:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-11 20:45 Multiple -d flags Mattia Martinello
2003-01-13 11:04 ` Dharmendra.T [this message]
2003-01-13 11:32 ` Rodrigo Otavio
-- strict thread matches above, loose matches on Subject: below --
2003-01-11 20:58 Mattia Martinello
2003-01-11 21:37 ` Thorsten Scherf
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=1042455895.1886.3.camel@india \
--to=dharmu@nsecure.net \
--cc=mattia@mattiamartinello.com \
--cc=netfilter@lists.netfilter.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox