Centralized Firewall (UFW) & SSH Lockout Safeguards
Managing iptables or UFW rules across multiple VPS machines is prone to fatal operator error—especially accidentally locking yourself out of SSH.
7Server introduces a Centralized Firewall Control Panel with built-in SSH Lockout Prevention.


The SSH Lockout Safeguard
When enabling UFW or deleting rules:
- Active SSH Port Detection: 7Server inspects the server's running SSH daemon (
sshd) port (e.g., port 22 or custom port). - Pre-Enforcement Verification: If UFW is currently disabled, 7Server blocks the user from turning UFW on unless an explicit
ALLOWrule for the SSH port already exists in the ruleset. - Delete Safeguard Warnings: Attempting to delete the active SSH rule triggers a high-severity alert dialog informing the user that deletion will sever 7Server's connection to the node.
Quick Presets
Easily open standard service ports with one click:
HTTP (80): Web trafficHTTPS (443): Secure SSL trafficSSH (22): Secure Shell accessMySQL (3306): Database connections (recommend restricting to specific source IP)PostgreSQL (5432): PostgreSQL connectionsRedis (6379): In-memory store (recommend restricting to private VPC IP)
Adding Custom Rules
- Port / Service: Port number or range (e.g.,
8080,3000:3005). - Protocol:
TCP,UDP, orAny. - Action:
ALLOW(allow incoming traffic) orDENY(drop packets). - Source IP Filter: Restrict traffic to a specific management IP (e.g.,
203.0.113.50) or leave blank for anywhere (0.0.0.0/0).