Tools / Networking

Port Reference & Firewall Rule Builder

Search common network ports and generate custom firewall rules for UFW, iptables, Cisco ACL, nftables, and AWS.

Interactive Rule Builder

Generated Syntax Outputs

UFW (Ubuntu / Debian)
sudo ufw allow to any port 22 proto tcp
iptables (Linux Native)
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
Cisco IOS Extended ACL
access-list 101 permit tcp any any eq 22
AWS CLI Security Group Rule
aws ec2 authorize-security-group-ingress --group-id sg-xxxxxx --protocol tcp --port 22 --cidr 0.0.0.0/0

Common Port Quick Reference

SSH(TCP)
Secure Shell Remote Access
22
HTTP(TCP)
Hypertext Transfer Protocol
80
HTTPS(TCP)
Encrypted Web Traffic
443
DNS(UDP/TCP)
Domain Name System
53
MySQL / MariaDB(TCP)
Relational Database Server
3306
PostgreSQL(TCP)
PostgreSQL Database
5432
Redis(TCP)
In-memory Key-Value Store
6379
MongoDB(TCP)
NoSQL Document Database
27017
RDP(TCP)
Windows Remote Desktop
3389
HTTP-Alt(TCP)
Alternative Web Proxy / Dev Server
8080
Minecraft(TCP/UDP)
Minecraft Multiplayer Server
25565
WireGuard(UDP)
Modern VPN Service
51820
OpenVPN(UDP)
OpenVPN Daemon
1194
SMTP(TCP)
Simple Mail Transfer Protocol
25
Prometheus(TCP)
Prometheus Monitoring Metrics
9090
Hand-crafted inDevon Flag Devon by gfor.se