Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When I add

-A INPUT -p udp -j DROP

at the end of my INPUT Chain, if I then type iptables -L the list will stop displaying at the drop command.

Before that I am allowing SSH on tcp and some other stuff.

So why does it stop displaying the list?

share|improve this question
    
perhaps you could provide us exact output so we can actually see what is happening? –  alexus Jun 6 '13 at 14:45

1 Answer 1

up vote 2 down vote accepted

Maybe a DNS lookup is blocking the output - try:

iptables -nL
share|improve this answer
    
lol! of course it does if you block UDP incomming - UDP is used for DNS queries. –  Pascal Schmiel Jun 6 '13 at 14:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.