REJECT doesnt work

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

 



Hi All
I have following line to drop any request that is not from the
original computer and it works fine
-A PREROUTING -s 192.168.0.157 -p tcp -m mac --mac-source !
00:11:2F:29:96:84  -j DROP

but now I want to change it to REJECT but it doesnt work and iptables will fail

-A PREROUTING -s 192.168.0.157 -p tcp -m mac --mac-source !
00:11:2F:29:96:84  -j REJECT --reject-with=icmp-host-pro
hibited

what is the problem?

thanks
--
Regards,
Mohammad
--------------------------
see my blog: http://brainable.blogspot.com/
another in Persian: http://fekre-motefavet.blogspot.com/


[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