UFW - see configured rules even when inactive

Posted by Bryan on Ask Ubuntu See other posts from Ask Ubuntu or by Bryan
Published on 2011-03-17T14:48:28Z Indexed on 2011/03/17 16:19 UTC
Read the original article Hit count: 358

Filed under:
|

Hello,

I'm wondering if it's possible to get UFW to list the configured firewall rules even when it's not enabled. I only have ssh access to the server at this time, and I don't want to enable UFW if there's not a rule configured allowing ssh. However, since UFW is currently not enabled, I just get an "inactive" message when I run "ufw status".

Is there a special flag I can use or even some config file I can look at to see what rules are configured even when the firewall is disabled?

© Ask Ubuntu or respective owner

Related posts about firewall

Related posts about ufw