Developer Tools

Firewall Rule Generator — iptables / UFW / firewalld

Configure action, ports, and addresses in a form to generate iptables, UFW, or firewalld commands in your browser. Useful for reviewing allow and block rules before running them on a host.

FirewalliptablesSecurity

Favorite this tool

No favorite storage mode has been selected.

Quick actions

Copy this tool URL or open the system share sheet on a supported device.

Use cases

  • Generate allow rules for a new service port
  • Draft block rules for suspicious source IPs
  • Compare syntax across iptables, UFW, and firewalld

How to use

  1. Choose firewall dialect and target action
  2. Fill port, protocol, and address parameters
  3. Copy the command and review it before running on the host

Example input and output

Scenario

iptables / ACCEPT / TCP 443

Sample command

iptables -A INPUT -p tcp --dport 443 -j ACCEPT

FAQ

Does this change my server directly?

No. It only outputs command text. You run and own changes on the target machine.

How do the three dialects differ?

The same intent is rendered in common iptables, UFW, or firewalld syntax so you can match your distribution.

Tools

Related tools

Continue with another translated tool for a nearby task.

Subnet Calculator

Subnet Calculator — IPv4 CIDR Planning Tool

Available

Calculate subnet mask, network address, broadcast address, and usable host count from an IP and CIDR prefix for internal segmentation, Docker networks, and routing plans.

CIDR Subnet Network

Chmod Calculator

Chmod Calculator — Linux Permission Converter

Available

Toggle read, write, and execute bits to convert between octal and symbolic chmod formats, with example commands for scripts, directories, and recursive changes.

chmod Linux Permissions

OpenSSL Command Generator

OpenSSL Command Generator — Certificate CLI Builder

Available

Generate common OpenSSL commands for self-signed certs, CSRs, certificate inspection, and PFX operations in your browser. Useful when you need standard syntax without memorizing long flags.

OpenSSL SSL Certificates