iptables: -p all AND --dport xx (is it possible)
David Cary Hart
Fedora at TQMcube.com
Tue Apr 26 00:53:07 UTC 2005
On Mon, 2005-04-25 at 20:17 -0400, Alan :) wrote:
> The following rule can't be applied
>
> iptables -A INPUT -p all --dport 80 -j DROP
>
> the above fails stating that --dport is not recognized.
>
> I'm trying to drop all traffic to port 80. If I provide a specific protocol it works. For example: iptables -A INPUT -p tcp --dport 80 -j DROP
>
> any ideas?
If you specify a port you must specify either TCP or UDP.
--
Multi-RBL Check: http://www.TQMcube.com/rblcheck.htm
Kill Spam at the Source: http://www.TQMcube.com/spam_trap.htm
Today's Spam Trap Adds: http://www.TQMcube.com/BlockedToday
RBLDNSD HowTo: http://www.TQMcube.com/rbldnsd.htm
More information about the fedora-list
mailing list