! means on iptables

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

 



iptables rule chain:

iptables -A FORWARD -i eth1 -p tcp \
	   -s ! 172.16.30.185 \
	   -d www.yahoo.com -j DROP

if i am not mistaken that rules means to drop all connection to
www.yahoo.com except from address 172.16.30.185

is this correct?

regards.
JW



[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