FortiGate Service Port Config Generator

Preview Table

Protocol Port/Range Service Name CLI Command

How to Use

  1. Specify a service name prefix (optional)
  2. Enter TCP ports/ranges in the TCP Ports box (one per line or comma-separated)
  3. Enter UDP ports/ranges in the UDP Ports box (one per line or comma-separated)
  4. Click "Generate CLI Commands"
  5. Copy the output and paste into your FortiGate CLI

Examples:
TCP: 80, 443, 8080, 1000-2000
UDP: 53, 123, 500-510

Note: Accepts port numbers or service names (e.g., "https" or "443")

About This Tool

Disclaimer: Verify all configurations before production use.