From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: -m physdev iptables: Invalid Argument Date: Sat, 25 Oct 2003 02:12:10 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3F99BFDA.6030506@trash.net> References: <3F996BBA.5070106@metavize.com> <3F99B88D.1060000@trash.net> <3F99BD97.2080409@metavize.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@lists.netfilter.org Return-path: To: Dirk Morris In-Reply-To: <3F99BD97.2080409@metavize.com> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Dirk Morris wrote: > I give up. > Care to enlighen us? I care to enlighten you .. > ~ # sudo /sbin/iptables -m physdev -t nat --physdev-in eth0 -A > PREROUTING -p tcp --destination-port 7:7 -j REDIRECT --to-port 20257 > iptables: Invalid argument -m phydev --phsydev-in eth0 > ~ # sudo /sbin/iptables -m physdev -t nat -A PREROUTING --physdev-in > eth0 -p tcp --destination-port 7:7 -j REDIRECT --to-port 20257 > iptables: Invalid argument same here > ~ # sudo /sbin/iptables -m physdev -t nat -A PREROUTING -p tcp > --physdev-in eth0 --destination-port 7:7 -j REDIRECT --to-port 20257 > iptables: Invalid argument same here, additionally -p tcp --destination-port > ~ # sudo /sbin/iptables -m physdev -t nat -A PREROUTING -p tcp > --destination-port 7:7 --physdev-in eth0 -j REDIRECT --to-port 20257 > iptables: Invalid argument same here > ~ # sudo /sbin/iptables -m physdev -t nat -A PREROUTING -p tcp > --destination-port 7:7 -j REDIRECT --physdev-in eth0 --to-port 20257 > iptables: Invalid argument same here, additionally REDIRECT --to-port > ~ # sudo /sbin/iptables -m physdev -t nat -A PREROUTING -p tcp > --destination-port 7:7 -j REDIRECT --to-port 20257 --physdev-in eth0 > iptables: Invalid argument same here