IT-Firewall

Back to System Admin

Type the following in the boxes, in a terminal as the root user. ufw allow 22 ufw allow 25 ufw allow 80 ufw allow 443 ufw allow 4949 ufw allow from 146.232.128.157 to any port 873 ufw allow from 146.232.125.194 to any port 873 ufw allow from 146.232.128.186 to any port 4426 ufw allow from 127.0.0.1 to any port 3306
 * ALLOW SSH
 * ALLOW SMTP
 * ALLOW HTTP
 * ALLOW HTTPS
 * ALLOW MUNIN
 * ALLOW RSYNC TO ARCHIVE.BIB.SUN.AC.ZA
 * ALLOW RSYNC TO ARK.BIB.SUN.AC.ZA
 * ALLOW NAGIOS
 * ALLOW MYSQL

ufw enable

ufw status You should now see the firewall rules.

Back to System Admin