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.

I'm sure I'm doing something wrong. I'm expecting my current rules of "denying all incoming/outgoing" to cripple anything network related, but it's not.

First, I did:

sudo ufw default deny incoming

sudo ufw default deny outgoing

And then I checked it:

sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), deny (outgoing)
New profiles: skip

Looks good, and then I reloaded it:

sudo ufw enable

sudo ufw reload

sudo service ufw restart

Yet, I'm able to post this on the interweb and do everything else.

share|improve this question
What does ufw show raw say? According to the manpage, status doesn't show "hardcoded" rules from /etc/ufw so you may have some defaults configured there. –  DerfK Mar 3 '11 at 0:49

Your Answer


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

Browse other questions tagged or ask your own question.