Difference between revisions of "Ubuntu Firewall"
From FusionPBX
(ufw delete 3) |
(→More Information) |
||
Line 32: | Line 32: | ||
==More Information== | ==More Information== | ||
https://help.ubuntu.com/10.04/serverguide/C/firewall.html | https://help.ubuntu.com/10.04/serverguide/C/firewall.html | ||
+ | |||
+ | http://pka.engr.ccny.cuny.edu/~jmao/node/28 | ||
https://help.ubuntu.com/community/UFW | https://help.ubuntu.com/community/UFW | ||
man ufw | man ufw |
Revision as of 06:07, 22 March 2012
Ubuntu includes ufw (uncomplicated firewall) by default, but it is not enabled.
Configure the Uncomplicated FireWall via CLI
sudo su ufw allow ssh #for Fusion ufw allow 80/tcp ufw allow 443/tcp #for FreeSWITCH ufw allow 1719/udp ufw allow 1720/tcp ufw allow 3478/udp ufw allow 3479/udp ufw allow 5002/tcp ufw allow 5003/udp ufw allow proto tcp from any to any port 5060:5069 ufw allow proto udp from any to any port 5060:5069 ufw allow 5070 ufw allow 5080 ufw allow 5081 ufw allow proto udp from any to any port 16383:32768
ufw default deny ufw enable ufw logging on ufw status ufw delete 3
Happy Firewalling!
More Information
https://help.ubuntu.com/10.04/serverguide/C/firewall.html
http://pka.engr.ccny.cuny.edu/~jmao/node/28
https://help.ubuntu.com/community/UFW
man ufw