From: Thorsten Scherf <tscherf@web.de>
To: Mattia Martinello <mattia@mattiamartinello.com>,
netfilter@lists.netfilter.org
Subject: Re: Multiple -d flags
Date: Sat, 11 Jan 2003 22:37:10 +0100 [thread overview]
Message-ID: <200301112237.10799.tscherf@web.de> (raw)
In-Reply-To: <3E20855F.9040006@mattiamartinello.com>
> 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.
You have to specify a protocol with the -p option, then you can use --dport!
Try this one:
iptables -A FORWARD -s 0.0.0.0/0 -d 213.21.136.8/255.255.255.255 -p tcp
--dport 80 -j ACCPET
next prev parent reply other threads:[~2003-01-11 21:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-11 20:58 Multiple -d flags Mattia Martinello
2003-01-11 21:14 ` RE : " Franck ZOCCOLO
2003-01-11 21:37 ` Thorsten Scherf [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-01-11 20:45 Mattia Martinello
2003-01-13 11:04 ` Dharmendra.T
2003-01-13 11:32 ` Rodrigo Otavio
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=200301112237.10799.tscherf@web.de \
--to=tscherf@web.de \
--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