All tools / Net
ufw rule builder
Assemble a ufw allow, deny, reject, or limit command from address and port fields.
Result
In the browser
The page only prints a command. It does not change the firewall. A port requires tcp or udp. Leave an address blank to use any.