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

iptables: -p all AND --dport xx (is it possible)



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?

-- Alan Angulo
Systems Administrator
Academic Computing
East Stroudsburg University
e-mail: alan esu edu
Tel: (570) 422-3783


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