GitHub ↗

Port Rules

Ports that accept inbound connections on every interface. TCP and UDP are separate tabs; a rule is a port, an optional SSH mark, and a description for your own benefit.

The port rules page: TCP and UDP tabs, a filter box, a table of ports with an SSH protection checkbox and description, and context cards explaining port syntax and SSH protection.
Filtering narrows what is already on the page, so unsaved edits survive it.

What you can write

Form Example Opens
Single port 443 one port
Range 8000:9000 8000 to 9000, inclusive

1–65535, ranges ascending. Every rule applies to all interfaces — to restrict by source, use the whitelist or a custom rule.

Mark your SSH port

Ticking SSH protection routes that port through the brute-force chain, which rate-limits new connections per source address.

Mark it even on a non-standard port. The chain is applied per port, so 2222 is protected exactly like 22 — but only if you tick it. If you mark nothing, easywall protects 22 by default, which is the wrong port on a hardened host.

The mark alone does nothing unless the module is switched on under options — it is on by default, limit 5.

Common sets

Server TCP UDP
Web 80, 443
Mail 25, 465, 587, 993, 995
DNS 53 53
WireGuard 51820
Minecraft 25565 (Java) 25565 (Bedrock)
SSH, moved 2222 ✓ SSH protection

Nothing happens until you apply

Saving stages the change. The running firewall is untouched until Apply, and stays changed only if you confirm inside the window. Deleting works the same way — the rule keeps working until applied.

When it does not work

Symptom Cause Check
Port open, connection refused Nothing is listening ss -tlnp \| grep <port>
Port listed, still blocked Not applied yet Go to Apply rules
Blocked despite being open The source is on the blacklist, which is checked first  
SSH drops right after Apply That is the design — do nothing and the old rules come back  
Your own SSH is rate-limited You hit the brute-force limit Wait, then add your address to the whitelist