Uncomplicated Firewall offers the most basic security configuration for Ubuntu by deafult. Providing a very user friendly firewall for both IPv4 and IPv6.
By default it is loaded in Ubuntu but disabled.
Its configuration is easy and is offered via command line and or a graphiicalinterface for frontend called Gufw.
In this article, well take you through an easy set upand configuration.
Enable UFW
To enable ufw, run this command.
sudo ufw enable
Check the status by running
sudo ufw status![]()
If the VPS is configured for both IPv4 and IPv6, make sure you configure rules for both. Tho do this, run
sudo nano /etc/default/ufw
and set the value for IPv6 to “YES”
Close the editor by pressing “Ctrl+X” then save the changes.
Restart the firewall by
sudo ufw disable sudo ufw enable
Set up rules
Setting up some rules to allow and deny rules is easy and simple.
sudo ufw default deny incomingsudo ufw default allow outgoing
To prevent remote shell connections on a public cloud, you can be more restrictive and deny all outgoing requests. However, this makes the management more cumbersome.
sudo ufw default deny outgoing
Allowing connections
By blocking all incoming requests, SSH was blocked as well and that means you cannot access the server through SSH. You need change the rules to allow SSH to connect.
sudo ufw allow ssh
Domain SearchSecure your perfect UAE domain in seconds.
Domain TransferSeamless domain transfer. Zero downtime, complete control.
All TLDsSecure your ideal domain. Explore local UAE and international extensions.
WHOIS LOOKUPCheck domain ownership, expiry dates, and registrar details instantly.
AE DomainsRegister a .AE domain and build trust in the UAE.
Web hostingFind budget-friendly hosting that doesn’t compromise on performance.
Windows HostingHigh-performance hosting for Windows applications and websites.
Affiliate ProgramBecome a partner and earn commission for every referral.
WordPress HostingBlazing-Fast WordPress Hosting, Optimised for Performance.
Email HostingSecure your communications with professional email hosting. Use your domain, stay in control.
Reseller HostingLaunch your own hosting brand. We handle the tech, you grow your business.
VPS HostingVirtual servers that grow with you. Full root access. Blazing fast performance.
Managed VPS HostingNot a tech expert? Let us handle everything with our fully managed VPS hosting.
Dedicated ServersEnjoy full access and total control over your dedicated physical server.




