Uncomplicated Firewall, or UFW, is a simple and easy to use Firewall interface written in Python. It is quite popular in Ubuntu and Debian based systems although you can technically use on any Linux distro. On Ubuntu-based distros it is available by default.
Just because it is easy to use, doesn’t mean that it is not production worthy or inferior. In fact, budding sysadmins can learn a lot about networking and firewalls just by using UFW. It’s simple syntax allows you to think about the firewall rules and the networking setup, instead of getting distracted by flags and other obscurities.
Here are a few key commands of UFW discussed at the beginner levels, they are all Independent of each other. So think of it as a reference rather than a step-by-step guide.These should help you secure your VPS from the hostile and dark corners of the Internet.
- UFW status — Inspecting the state of UFW itself
- UFW allow — Allowing Incoming and outbound traffic
- UFW enable/disable — Use these carefully or risk locking yourself out of your own system
- UFW list rules — Making sense of all the various rules and their implications
- UFW remove rules — Editing rules to make your system a bit more pervious
- Firewalls Best Practices for Security
ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.