FeministWiki:Server setup: Difference between revisions

No edit summary
Line 34: Line 34:


   apt-get install ufw
   apt-get install ufw
 
 
   for port in 22 25 80 443 465 587 993 995 5222 5223 5269 5270 5443 6697 7777
   for port in 22 25 80 443 465 587 993 995 5222 5223 5269 5270 5443 6697 7777
   do ufw allow proto tcp to 0.0.0.0/0 port $port
   do ufw allow proto tcp to 0.0.0.0/0 port $port
   done
   done
 
 
   ufw enable
   ufw enable