Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Jan Kaastrup" <jka@protego.dk>
To: 'ads nat' <adsnat@yahoo.com>, netfilter@lists.netfilter.org
Subject: RE: IPTABLES syntax problem.
Date: Tue, 23 Dec 2003 13:31:09 +0100	[thread overview]
Message-ID: <001701c3c950$a50b6560$2d64a8c0@pcjka> (raw)
In-Reply-To: <20031223114701.977.qmail@web60405.mail.yahoo.com>

What do you want to do with this rule?

-----Original Message-----
From: netfilter-admin@lists.netfilter.org
[mailto:netfilter-admin@lists.netfilter.org] On Behalf Of ads nat
Sent: 23. december 2003 12:47
To: netfilter@lists.netfilter.org
Subject: IPTABLES syntax problem.


Hi,
I am trying to setup IPTABLES rules. I am newbe to
this.

One of the rule in filter table is 
#######
-A INPUT -p tcp ! --syn -m state --state NEW -j LOG
--log-prefix "New not syn:"
#############

I am getting following error :


[root@allweb root]# /etc/init.d/iptables restart
Flushing all current rules and user defined chains:   
    [  OK  ]
Clearing all current rules and user defined chains:   
    [  OK  ]
Applying iptables firewall rules: iptables-restore
v1.2.6a: Unknown arg `--syn'
Try `iptables-restore -h' or 'iptables-restore --help'
for more information.

I am using /etc/init.d/iptables restart to apply
iptables rules.

I think I have used proper syntax "--syn" from Oskar
Anderson IPTABLES tutorials.

Looking for support.
Thanks

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree




  reply	other threads:[~2003-12-23 12:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-23 11:47 IPTABLES syntax problem ads nat
2003-12-23 12:31 ` Jan Kaastrup [this message]
2003-12-23 12:38   ` Antony Stone
2003-12-23 12:58   ` ads nat
2003-12-23 13:19 ` Chris Brenton
2003-12-23 13:37   ` ads nat
2003-12-23 13:51     ` Cedric Blancher
2003-12-23 15:06     ` Chris Brenton
2003-12-23 15:30       ` ads nat
2003-12-23 15:38         ` Antony Stone
2003-12-23 13:48   ` Cedric Blancher
2003-12-23 13:56     ` ads nat
2003-12-23 14:57       ` Cedric Blancher
2003-12-23 16:26         ` ads nat
2003-12-23 16:27         ` ads nat
2003-12-23 14:00 ` Jeffrey Laramie

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='001701c3c950$a50b6560$2d64a8c0@pcjka' \
    --to=jka@protego.dk \
    --cc=adsnat@yahoo.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