Home › Tool guides › UFW firewall
Security toolsUFW firewall
Ubuntu's simple firewall: allow only SSH, HTTP and HTTPS to an Odoo server.
Official site: help.ubuntu.com/community/UFW
Licence: Free
Install
Linux
sudo apt install -y ufw
macOS
# not applicable (use pf)
Windows
# use Windows Defender Firewall
Use with Odoo
- 8069/8072 stay closed: only Nginx talks to Odoo on localhost.
- PostgreSQL 5432 closed unless a separate app server needs it (then allow only that IP).