Skip to content
10% off any project with promo code10% off with code
DevOps & Linux

UFW / iptables Firewall Setup

13 reviews

UFW and iptables firewall configuration: deny by default, database and cache bound to localhost, rules that survive reboot, and no lockouts. From 800 UAH.

UFW / iptables Firewall Setup Service

UFW and iptables firewall configuration

A firewall closes off everything that has no business being reachable from outside. Basic server hygiene: only the required ports stay open, everything else does not answer at all.

What is included

  • default policy: deny all inbound, allow what is needed;
  • rules for the web server, SSH and the services actually in use;
  • restricting database and cache access to the local interface;
  • administrative port access from specific addresses, where a static IP exists;
  • brute-force protection at firewall level;
  • persisting rules across reboots — without which everything resets.

The main caveat

It is easy to lock yourself out with a firewall. The most common accident: a rule is applied, SSH is closed, and the server is no longer reachable. So configuration is always done with a fallback route available, and new rules are verified in a separate session before the old one is closed.

Typical findings

A database reachable from the internet. Redis listening on all interfaces without a password. A hosting control panel open to the world. Service ports the owner knew nothing about, opened by some installer.

A firewall does not replace updates and decent passwords — it only reduces the attack surface.

Before and after

Before
  • The database is reachable from the internet, and Redis listens on all interfaces without a password
  • The hosting panel is open to the world, and some installer opened ports you never knew about
  • A bad rule closes SSH, and the server is no longer reachable
After
  • A deny-all-inbound policy: only the web server, SSH and services actually in use stay open
  • Database and cache reachable only locally; admin ports open to specific IPs if yours is static
  • Rules persist across reboots and are verified in a separate session before the old one is closed

Reviews (13)

5.0
24/05/2026

Користувався послугою «Налаштування UFW / iptables firewall»: порти БД і Redis були відкриті назовні. Все протестували перед тим як віддати.

19/04/2026

Користувалась послугою «Налаштування UFW / iptables firewall»: SSH був доступний усьому світу. Після здачі ще тиждень відповідали на дрібні питання. Комунікація була чіткою, відповідали швидко. Проблему вирішено остаточно.

09/04/2026

«Налаштування UFW / iptables firewall» — саме те, що шукала. SSH був доступний усьому світу. Комунікація була чіткою, відповідали швидко. Звернуся ще раз із наступними задачами.

19/12/2025

Залишаю відгук про «Налаштування UFW / iptables firewall». Порти БД і Redis були відкриті назовні. Підхід професійний, усе по суті. Зробили навіть трохи більше, ніж домовлялись.

02/06/2025

Користувалась послугою «Налаштування UFW / iptables firewall»: боявся втратити доступ при налаштуванні. Підхід професійний, усе по суті. Магазин нарешті працює як треба.

Write a review
Telegram