All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: --iif argument unrecognized by iptables
Date: Mon, 26 Jan 2009 10:57:14 +0100	[thread overview]
Message-ID: <497D88FA.2060005@plouf.fr.eu.org> (raw)
In-Reply-To: <f8a02f3e0901251559q6324e3faqc75af6d16eba8038@mail.gmail.com>

Hello,

Andy Theuninck a écrit :
> 
> # iptables -t mangle -A INPUT -d 192.168.1.2 -s !
> 192.168.1.0/255.255.255.0 -p udp --dport 500 -j ROUTE --iif eth0:1
> iptables v1.3.5: Unknown arg `--iif'
> Try `iptables -h' or 'iptables --help' for more information.

Maybe your iptables was build without the ROUTE support. What is the 
output of :

iptables -j ROUTE -h

Unrelated to the error message, eth0:0 is not an interface name but an 
IP alias label. Iptables rules require interface names such as eth0, not 
aliases.

  reply	other threads:[~2009-01-26  9:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-25 23:59 --iif argument unrecognized by iptables Andy Theuninck
2009-01-26  9:57 ` Pascal Hambourg [this message]
2009-01-26 14:46   ` Andy Theuninck
2009-01-26 15:12     ` Pascal Hambourg
2009-01-26 15:23       ` Andy Theuninck

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=497D88FA.2060005@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@vger.kernel.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.