homehowtokbslinksaboutcontactprojectsmusic

Index > Knowledge Base > UFW CLI
Allow protocol ports in ufw
ufw allow 9065/udp
Allow asterisk streaming ports in ufw
ufw allow proto udp to any port 10000:20000
or
ufw allow 10000:20000/udp
To delete
ufw delete allow 53
delete allowed host/port
ufw delete allow from 000.000.000.000 to any port 22
Allow ufw rule app to all
ufw allow OpenSSH
Allow application from specific host
ufw allow from 000.000.000.000 to any app OpenSSH
ufw rules to allow samba traffic
sudo ufw allow proto tcp from 000.000.000.000/24 to any port 137
sudo ufw allow proto udp from 000.000.000.000/24 to any port 137
sudo ufw allow proto udp from 000.000.000.000/24 to any port 138
sudo ufw allow proto tcp from 000.000.000.000/24 to any port 139
sudo ufw allow proto tcp from 000.000.000.000/24 to any port 445
Install remastersys on Ubuntu 12.04 LTS
Add the key
wget -O - http://www.remastersys.com/ubuntu/remastersys.gpg.key | apt-key add -
Add to the repository
echo "#Remastersys Precise" >> /etc/apt/sources.list
echo "deb http://www.remastersys.com/ubuntu precise main" >> /etc/apt/sources.list
Then update the repository and upgrade
apt-get update && apt-get upgrade -y
Now install the remastersys
apt-get install remastersys -y
Check the kernal you are running
uname -a
or
uname -r
Enable Apache SSL with defaulf self-signed certificates
sudo a2enmod ssl && a2ensite default-ssl && service apache2 restart