From: Michael Gale <mgale@utilitran.com>
To: netfilter@lists.netfilter.org
Subject: Re: iptables related
Date: Mon, 8 Dec 2003 12:38:47 -0700 [thread overview]
Message-ID: <20031208123847.6f8fe3c6.mgale@utilitran.com> (raw)
In-Reply-To: <20031208191947.GA1603@msservices>
You need to specify a protocol if you want to specify ports.
For example:
iptables -A INPUT -p tcp --sport 80 -j ACCEPT
Michael
On Tue, 9 Dec 2003 00:49:47 +0530
Jeffrin <jeffrin@gamebox.net> 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 ...
>
>
--
Michael Gale
Network Administrator
Utilitran Corporation
next prev parent reply other threads:[~2003-12-08 19:38 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
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 [this message]
-- 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=20031208123847.6f8fe3c6.mgale@utilitran.com \
--to=mgale@utilitran.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 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.