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.
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.
| Port | Service |
|---|---|
| 17 | QOTD |
| 19 | CHARGEN |
| 69 | TFTP |
| 111 | Portmapper, on UDP and TCP |
| 137–138 | NetBIOS |
| 161–162 | SNMP |
| 389 | CLDAP |
| 427 | SLP |
| 520 | RIP |
| 1434 | MS-SQL Browser |
| 1900 | SSDP |
| 3283 | Apple Remote Desktop |
| 3702 | WS-Discovery |
| 5353 | mDNS |
| 5683 | CoAP |
| 10001 | Ubiquiti discovery |
| 11211 | Memcached, 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.
| Port | Service |
|---|---|
| 23 | Telnet |
| 135 | Microsoft RPC |
| 139 | NetBIOS session |
| 445 | SMB (Windows 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
| Port | Use |
|---|---|
| 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:
- The service is active. There is no waiting period after activation.
- 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.comisn't enough: use a name from your domain, such asmail.example.com. This record also sets the reverse record (PTR). - 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>
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).
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
ufworfirewalld, 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
If it sends over port 25 or 465, those ports are closed. Configure it to send through a mail provider on port 587, or enable the free Mail-ready add-on if you run your own mail server.
Check the email you received titled Mail-ready on …: a few things before we open email sending, which lists what's missing. The usual causes:
- There's no A record for the server's domain, or it points to another address.
- The record is proxied through Cloudflare (orange cloud) instead of DNS only.
- The server's domain is still the default name
vps12345.illevante.com. - The server's address is listed on Spamhaus or SpamCop.
On an existing server, wait up to 30 minutes after adding it.
Most likely your server's address was listed on a blocklist, and the email you received names the list. Find the cause (a compromised account, a website sending spam, or an abused contact form) and fix it, then request removal of the address from the list on the list's website. Email is reopened automatically after removal. If this happens a second time, contact technical support.
It's rebooted once (about 20 seconds) on each change: when email is opened, closed or reopened. Your data isn't affected.
Contact technical support and explain your need and the port you require. In most cases there's a secure alternative: SSH instead of Telnet, and SFTP or a VPN instead of SMB.
Servers created before November 28, 2026 may have these ports closed. Contact technical support.
How is this guide?
Server name and reverse DNS (PTR)
How your server's IP address automatically gets a PTR record with your domain name, why this matters for email, and what the default server name is if you don't set one.
Snapshots
Take snapshots of your VPS before any major change, restore from them or delete them, and how they differ from backups.