ufwHow to get open ports
ufw status verbose
ctrl + c
status verbose will return list of current rules, including opened/closed ports |
Usage example
ufw status verbose
output
To Action From
-- ------ ----
80 DENY IN Anywhere
Anywhere ALLOW IN 1.2.3.4
80 (v6) DENY IN Anywhere (v6)
More of Ufw
- How to install ufw on Centos 8
- How to check if ufw is active
- Get all ufw rules
- Where are ufw logs located?
- How to disable ufw
- Deny connections to mysql using ufw
- How to activate ipv6 rules for ufw
- Disable ufw logs
- Block traffic from IPV6 IP with ufw
- Allow connections to mysql using ufw
See more codes...