How can I see firewall rules in Ubuntu?

How can I see firewall rules in Ubuntu?
Answer
To check firewall status use
the ufw status command in the terminal. If the firewall is enabled, you will see the list of firewall rules and the status as active. If the firewall is disabled, you will get the message “Status: inactive”. For more detailed status use verbose option with ufw status command.
 

Tìm kiếm

Back
Top