$ ufw enable
$ ufw default deny
$ ufw allow 22/tcp
$ ufw allow proto udp 192.168.1.10 port 67 to 192.168.1.103 port 67
See your ruleset with:
$ ufw status
That's about it. Quick and easy way to harden an install with about 45 seconds of work. You can use gufw for GUI management.
No comments:
Post a Comment