ufw default deny
ufw allow ssh
ufw allow www
or you can allow/deny by port and protocol.
less /etc/services to see a list of services by name
ufw enable
The ufw command even manages the init.d process for you.
If you enable logging then it logs to /var/log/messages : grep for UFW
No comments:
Post a Comment