on a new ubuntu 14.04 server, installing and configuring ufw all seems well (no errors, or anything of that nature)
but… it does not block anything, at all. even the most basic configuration of: ufw default deny incoming ufw default allow outgoing ufw allow ssh ufw enable
everything running on the server is still exposed when accessed remotely
some searching online has turned up some people complaining of ufw problems with “some virtual server kernels”
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I upgraded from 12.04 to 14.04. <br> <br>Old mainline kernel 3.14.1 (12.04) was retained after upgrade as it was newer than what 14.04 had. <br> <br>Both UFW & Firestarter seemed to work but did nothing even when I tried to block everything. <br> <br>Solution: <br>- Installed 3.15.RC2 kkernel. <br>- Removed 3.14.1 kernel. <br>- Downloaded & installed 3.14.1 again (as 3.15.2.RC2 was unstable on my machine). <br>- Removed 3.15.RC2 kernel. <br> <br> <br>Now firewall rules are working fine. <br> <br>Think this mess happened as kernel was retained from older OS & that messed somethings up. <br> <br>Hope this resolves the issue for you as it did for me.
Check your configuration again, I have just setup ufw on Ubuntu 14.04 and it works just fine.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.