From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: iptables related
Date: Mon, 8 Dec 2003 19:28:28 +0000 [thread overview]
Message-ID: <200312081928.28282.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <20031208191947.GA1603@msservices>
On Monday 08 December 2003 7:19 pm, Jeffrin wrote:
> hello all,
>
> iptables -A INPUT -sport 80 -j ACCEPT
>
> shows error ...
>
> msservices:~# iptables -A INPUT --sport 80 -j ACCEPT
> iptables v1.2.9: Unknown arg `--sport'
> Try `iptables -h' or 'iptables --help' for more information.
>
> please help me ...
You must specify whether you're talking about a TCP source port, or a UDP one.
iptables -A INPUT -p tcp --sport 80 -j ACCEPT
or
iptables -A INPUT -p udp --sport 80 -j ACCEPT
will work.
Antony.
--
"The joy of X!!?? I've always hated compiling graphical shite. You have a 10
line program, and it ends up depending on the entire known universe."
- Philip Hands
Please reply to the list;
please don't CC me.
next prev parent reply other threads:[~2003-12-08 19:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-08 19:19 iptables related Jeffrin
2003-12-08 19:28 ` Antony Stone [this message]
2003-12-08 19:44 ` Jeffrin
[not found] ` <200312081506.30519.Alistair Tonner <>
2003-12-08 20:12 ` Jeffrin
2003-12-08 20:33 ` Jeffrey Laramie
2003-12-11 12:08 ` Renato Carvalho
2003-12-08 19:29 ` Ralf Spenneberg
2003-12-08 19:35 ` Jeffrey Laramie
2003-12-08 19:42 ` Antony Stone
2003-12-08 19:57 ` Jeffrey Laramie
2003-12-08 19:36 ` William Stearns
2003-12-08 19:38 ` Michael Gale
-- strict thread matches above, loose matches on Subject: below --
2003-12-08 20:19 Daniel Chemko
2003-12-08 19:57 Daniel Chemko
2003-08-12 18:41 iptables + RELATED Peter Marshall
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=200312081928.28282.Antony@Soft-Solutions.co.uk \
--to=antony@soft-solutions.co.uk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.