RE : Multiple -d flags

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

 



> The rule:
> 
> iptables -A FORWARD -s 0.0.0.0/0 -d 
> 213.21.136.8/255.255.255.255 -dport 
> 80 -j ACCEPT
> 
> shows me the following error:
> 
> iptables v1.2.5: multiple -d flags not allowed

You should use '--dport' instead of '-dport'.



[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