Ufw

Ufw stands for uncomplicated firewall, and is just that. It uses logs such as those obtained by syslog-ng for monitoring, and uses iptables as a back end. Ufw supports both ip v4 & ip v6.

kernel
the following kernel configuration must be made before ufw will work.

ip v6 is not required, however it is highly recommended.

Boot Service
To allow ssh by default:

OpenRC
To start ufw at boot:

To start ufw immediately:

Systemd
To start ufw at boot:

To start ufw immediately:

External Resources
https://wiki.archlinux.org/index.php/Uncomplicated_Firewall