[ale] Using iptables

Terry Bailey terry at bitlinx.com
Sat Jun 24 23:33:52 EDT 2006


I would like to use iptables to restrict all but one IP address to a web 
server.

I tried

	#/usr/sbin/iptables -t filter -A INPUT -p tcp -s !218.23.45.2 --dport 80 
-j DROP

but this is not accepted.

Any help here would be appreciated.

Thanks,

Terry Bailey





More information about the Ale mailing list