All systems operationalYour privacy. Your infrastructure. Your rules.24/7 engineering support
Security · 9 MIN READ

Open what you need. Close the rest.

A firewall is most useful when its rules are easy to explain. Begin with the application’s actual entry points and protect management access separately.

Need a hand?
BEFORE YOU START
  • Know your SSH port.
  • Keep an administrative session open.
  • Have console access available before changes.
01

Write a short access plan

List the services intended for the internet. A web application commonly needs HTTPS, with HTTP where redirects or certificate validation require it. A database normally needs access from application hosts, not every public address.

Name each rule after its purpose. A short list of understandable exceptions is easier to maintain than a large unexplained collection of ports.

02

Allow management before enforcing a default

For an Ubuntu host using UFW and the standard OpenSSH profile, allow management before enabling enforcement. If SSH uses a custom port, allow that actual port first. Review the rules and keep the existing connection open.

TERMINAL / REQUEST
sudo ufw allow OpenSSH
sudo ufw allow 443/tcp
sudo ufw status verbose
03

Check IPv4 and IPv6

An IPv4 restriction does not necessarily cover IPv6. If your application listens on both, review both paths. A public AAAA record can expose an IPv6 listener even when the IPv4 service appears restricted.

Bind internal listeners to their intended interfaces. A firewall adds a boundary; it does not replace authentication or software updates.

04

Keep the control-panel rules and guest rules aligned

Use the server’s Network section to review the inbound policy. Select protocol, port and source range, make one change and test reachability. Repeat the review after cloning or reinstalling a machine.

The optional enhanced DDoS service covers eligible network-layer attacks. It does not replace application rate limits, authentication or the operating-system firewall.

05

Recover from a lockout deliberately

Use the console to inspect the firewall and SSH service. Restore the last known-good access rule instead of removing every protection indefinitely. Verify a fresh external connection, remove temporary broad rules and record why the lockout happened.

KEEP BUILDING
THE NEXT MOVE IS YOURS

A little clarity. A confident next step.

Your infrastructure should make the work easier.

Open your client area
YOUR NEXT STEP, FOUND.

Explore VPSASTRA

Use arrow keys to move. Press Enter to open.Search stays in your browser

VPS vs. Dedicated Servers

Compare the two environments. Exact resources and prices depend on the plan you choose.

Differences between virtual private servers and dedicated servers
FeatureOffshore VPSOffshore dedicated
EnvironmentVirtual serverPhysical server
HardwareShared physical hostEntire machine
ResourcesAssigned to the virtual machineInstalled in the physical server
Common workloadsSites, applications and developmentResource-intensive applications
Explore VPS Explore dedicated