Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
Really thank you JUSTIN! but what about ufw and how it works with iptables? Can i implement every thing i can in iptables using ufw especially in ubuntu server 14.04?
kutkuta2: Thanks for the kind words!
As for your question: The iptables command (and the related set of commands: ip6tables, arptables, and ebtables) serves as an interface to the Netfilter package filtering mechanism enabled in the Linux kernel. The ufw tool simply serves as a front-end to these commands, making the interface more approachable to users.
The ufw tool does provide some compelling advantages over the *tables commands. For instance, it unifies the interface, allowing you to specify rules for IPv4 and IPv6 connections seamlessly. It also provides a built-in framework for saving and restoring rules, and can allow applications to provide their own sets of firewall rules. This last bit makes it possible to manage specific sets of rules as a unit, meaning that you can turn an application’s access “on” or “off” very easily.
In the end, ufw is simply a wrapper for the *tables commands. You can easily use either to accomplish the same task. If you are more comfortable using ufw, you can use that. If you happen to find some strange edge-case where ufw does not have the functionality you need, an iptables rule can be used to supplement your ufw rules.
I’m new to this but just before the conclusion you talk about ACCEPT or DROP: A chain with the default policy of ACCEPT will contain rules that explicitly drop packets. A chain that defaults to DROP will contain exceptions for packets that should be specifically accepted.
A chain with default ACCEPT will contain rules that explicitly accept packets should it be right? and DROP reject?