Skip to Content
VPS hosting

Network protection and closed ports

Every VPS sits behind a network-level firewall that closes a limited number of ports. The principle is simple: we close only what threatens our network or the reputation of our IP addresses. Everything else is open, and how you protect it is your decision, using the firewall inside your server.

Who does this list apply to?

It applies to servers created on or after November 28, 2026. Older servers may have additional ports closed (such as database and panel ports, and outgoing ports 587 and 123). If you need one of them on an older server, contact technical support.

Ports closed to incoming connections

Protocols exploited in amplification attacks (UDP)

These services respond to a small request with a much larger response. Attackers exploit them by sending requests with a victim's spoofed address, turning the server into a tool in a denial-of-service (DDoS) attack without its owner knowing, and damaging the reputation of its address.

PortService
17QOTD
19CHARGEN
69TFTP
111Portmapper, on UDP and TCP
137–138NetBIOS
161–162SNMP
389CLDAP
427SLP
520RIP
1434MS-SQL Browser
1900SSDP
3283Apple Remote Desktop
3702WS-Discovery
5353mDNS
5683CoAP
10001Ubiquiti discovery
11211Memcached, on UDP and TCP

The most frequently attacked services (TCP)

Worms, ransomware and botnets target these around the clock, and a server on the internet rarely needs to expose them publicly.

PortService
23Telnet
135Microsoft RPC
139NetBIOS session
445SMB (Windows file sharing)
For server management and file sharing

Use SSH (port 22) instead of Telnet, and RDP (port 3389) for Windows servers; both are open. To transfer files, use SFTP or a VPN connection instead of Windows file sharing.

Ports closed to outgoing connections

PortUse
25 (TCP)Sending mail directly to other mail servers
465 (TCP)Sending encrypted mail directly

These two ports are the biggest source of spam from compromised servers, and closing them protects the reputation of every customer's IP addresses. Port 587 is open. If you run your own mail server, the free Mail-ready add-on opens them automatically.

How to send email from your server

Through a mail provider (the easiest way)

Send email from your application or website over port 587 with an account at a mail provider, such as Gmail, Microsoft 365 or SendGrid. This works right away without any request, and message delivery is usually better.

Your own mail server on your server

If you run a mail server that sends directly:

Make the server's domain a name from your domain, such as mail.example.com, and create an A record for it pointing to the server's IPv4 address. This sets the reverse record (PTR) automatically, and it's also what the Mail-ready add-on checks. See Server name and reverse DNS (PTR).

Add SPF, DKIM and DMARC records for your domain with your DNS provider.

Enable the free Mail-ready (outgoing email) add-on, in the server order form or later on an existing server. Ports 25 and 465 are opened automatically once its conditions are met. Details are in the next section.

Mail-ready add-on

Mail-ready (outgoing email) is a free add-on available on all VPS and CloudLinux plans that opens direct mail sending from your server: ports 25 and 465. On servers created before November 28, 2026, it also opens port 587.

Enabling it

  • With a new server order: tick the Mail-ready (outgoing email) checkbox in the order form.
  • For an existing server: add it from Editing a VPS like any other add-on.

Ticking the checkbox means you accept the zero spam policy (external link): no spam, and no bulk messages without their recipients' consent.

Conditions

The platform checks these conditions automatically, and email is opened once they are all met:

  1. The service is active. There is no waiting period after activation.
  2. The server's domain in VMX Console has an A record pointing to the server's IPv4 address, set to DNS only if you use Cloudflare. The default name vps12345.illevante.com isn't enough: use a name from your domain, such as mail.example.com. This record also sets the reverse record (PTR).
  3. The server's address isn't listed on the Spamhaus or SpamCop blocklists.

Timing and what happens when it opens

  • New order: processed within about 10 minutes.
  • Existing server you added the add-on to: within about 30 minutes.
  • If a condition isn't met: you receive a single email explaining what's missing, and the check is repeated every few minutes without the need for a ticket. You only receive a new email if what's missing changes.
  • When it opens: the server is rebooted once (about 20 seconds) to apply the change, without touching any data, and you receive an email about it.

Blocklist protection

As long as email is open, your server's address is checked every hour against the main blocklists:

  • If the address is listed (because of spam from the server, or a compromised website, for example), email is closed immediately (with a single reboot), and you receive an email asking you to fix the cause and request removal of the address from the list.
  • Once the address is removed from the list, email is reopened automatically, and you receive an email about it.
  • If the address is listed a second time, email stays closed until technical support reviews the server. Contact them.

Removing the add-on

Removing the add-on closes the two ports again (with a single reboot), and you receive an email about it.

Emails you may receive

You receive these messages in English from a no-reply address, and your replies go to technical support:

  • One or more conditions aren't met, and the message lists them: Mail-ready on <IP>: a few things before we open email sending
  • Email has been opened: Email sending is now open on your server <IP>
  • Email has been closed because the address was listed on a blocklist: Email sending suspended on your server <IP>
  • Email has been reopened after the address was removed from the list: Email sending reopened on your server <IP>
  • Listed for a second time; email is closed until support reviews it: Email sending stays suspended on your server <IP>
  • Email has been closed because you removed the add-on: Email sending closed on your server <IP>
Still needed for good delivery

Add SPF, DKIM and DMARC records for your domain, and set the hostname inside the operating system to the server's own domain name. Sending through a mail provider on port 587 works without this add-on.

What stays open?

Everything not in the lists above is open, including:

  • Databases: MySQL/MariaDB (3306) and PostgreSQL (5432).
  • Control panels and applications: such as 8080, 8443 and 10000.
  • Other services: SIP (5060), IRC, NTP time synchronization (123) and DNS (53).
Protect these services yourself

An open port lets anyone on the internet try to connect to the service running on it. To protect these services:

  • Bind databases to the local address (127.0.0.1) if the application is on the same server. The ready-made applications in the Script marketplace do this by default.
  • Enable the firewall inside the server (such as ufw or firewalld, or Windows Firewall) and allow only the ports you need, or specific IP addresses. The steps are in Securing your new server.
  • Use strong passwords for panels and databases, and enable two-step verification where available.

Frequently asked questions

How is this guide?

On this page