Re: --iif argument unrecognized by iptables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux