UFW Rule Generator

Generate UFW (Uncomplicated Firewall) rules for Ubuntu and Debian Linux systems. Build allow, deny, reject, and limit rules with port, protocol, IP, and subnet options. Export as a ready-to-run bash script.

How to Use UFW Rule Generator

Use preset buttons for common services or manually configure rules by selecting action, direction, protocol, port, and IP addresses. Click Add Rule to build your firewall script incrementally.

Step-by-Step Instructions

  1. Use presets or configure action, protocol, and port
  2. Add source/destination IP if needed
  3. Click Add Rule to append to the script
  4. Copy the generated bash script to your server

Related Tools

More Free Tools