An IPv4 address is how your server shows up on the internet. On a NAT VPS that address is shared: several machines sit behind one public IPv4, and incoming traffic reaches the right machine through port forwarding. On a VPS with a dedicated IPv4, the address belongs to you alone. For outgoing requests there is barely any difference. For incoming ones, it decides what you can actually run.

How NAT works on a VPS

NAT (network address translation) lets several internal machines reach the internet through a single public address. To connect to a service on a NAT VPS from outside, you need port forwarding: an external port on the shared address maps to a port inside your machine. For example, external port 22022 forwards to port 22 on your server.

The forwarding is set up on the provider side, and inside the OS you only see the internal address. You can check it like this:

ip -4 addr show
ip route

If the address on the interface falls into 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16, the machine is most likely behind NAT. The public address and the forwarded port numbers come from your VPS settings at the provider.

What works on a NAT VPS out of the box

All outgoing connections work without any forwarding: package updates, calls to external APIs, scrapers, background jobs and Telegram bots running in long polling mode. The bot pulls updates from Telegram itself, so it does not need an inbound port at all.

When you need inbound access and a dedicated IPv4

  • a public website or API that people reach by domain name on the standard ports 80 and 443;
  • a mail server, which needs its own address and a reverse DNS record set up with the provider;
  • services that receive webhooks, such as n8n or your own integrations;
  • game servers and apps that expect standard ports;
  • issuing Let’s Encrypt certificates with the HTTP challenge: port 80 has to be reachable from the internet at the domain’s address.

On a shared address, each external port belongs to exactly one machine, so the standard ports 80 and 443 may already be taken by someone else. You can forward a non-standard port instead, but then the port number shows up in your links and webhook URLs, and getting a certificate via the HTTP challenge gets harder.

Pros and cons

NAT VPS

  • the lowest price: the NAT plan costs ₽99/month;
  • IPv6 is included on the same plan;
  • a good fit for bots, testing, personal services and SSH access;
  • downside: inbound connections go through an external port, and the standard ports are taken.

VPS with a dedicated IPv4

  • your own address: services are reachable on standard ports;
  • much easier to work with domains, certificates, email and webhooks;
  • downside: it costs more, for example Nano is ₽149/month versus ₽99 for NAT.

Does NAT make your server more secure?

A lot of people assume NAT protects a server by itself. It does not. The shared address hides your machine’s internal IP from direct scans, but every forwarded port is still open to the internet, and the service behind it can be attacked just like one on a dedicated address.

So a NAT VPS needs the same hardening as any other server: SSH keys instead of passwords, a firewall and regular updates. The full walkthrough is in Linux server security basics. There is one small difference: on a non-standard port, mass scanners that sweep the standard ports hit your service less often. That is a side effect, not a security strategy.

With a dedicated IPv4 the security story is the same, but you pick up a new responsibility: the address is yours, so its reputation is yours too. Send bulk mail from a misconfigured server or run a service with weak passwords, and the IP can end up on spam blocklists. This matters most for email, which is why mail servers usually get their own address with properly configured DNS records.

Which plan to pick

If all you need is SSH access, a long polling bot or outbound requests, NAT is enough. For a website, an API or a mail server that domains point to, get a plan with a dedicated IPv4. In the Pulsar lineup, every plan from Nano up includes a dedicated IPv4. Nano is the entry point: 1 vCPU, 1 GB RAM and 10 GB of disk for ₽149/month.

Example: what port forwarding looks like

Say your NAT VPS runs SSH for admin access, a web app and a monitoring dashboard. The public address is shared, and inside the machine the services listen on their usual ports. The forwarding map might look like this:

  • external port 22022 forwards to port 22 inside the VPS, which is SSH;
  • external port 18080 forwards to port 80, where the web app runs;
  • external port 13000 forwards to port 3000, where the monitoring dashboard listens.

To clients the address stays the same; only the port changes. SSH login looks like ssh -p 22022 deploy@203.0.113.10. The web app is at http://203.0.113.10:18080. It works, but links with a port number are clunky for real users, so for a public website you will most likely want a dedicated IPv4.

Common mistakes

  • Buying NAT for a website and then burning time working around port limits. If the site needs to load by domain with no port number, go straight for a dedicated address.
  • Paying for a dedicated IPv4 when all you run is SSH and a bot. The gap between NAT at ₽99 and Nano at ₽149 is ₽50/month, and if you do not need the address, that is money wasted.
  • Forwarding a bunch of ports at once. Every open port needs updates and access control, so only expose the services you actually need.
  • Forgetting about DNS. Your domain has to point to the server’s address, and if you move the service to a new IP, you have to update the records by hand.

How to check that a port is reachable

Once forwarding is set up, make sure the service actually responds. On the server, see which ports are listening:

sudo ss -tlnp

From another machine, test the public address and port. On Linux and macOS use nc; on Windows use PowerShell:

nc -vz 203.0.113.10 22022
Test-NetConnection -ComputerName 203.0.113.10 -Port 22022

The bottom line

A NAT VPS is the cheapest way to run a service that mostly makes outbound connections and needs SSH access. A VPS with a dedicated IPv4 is what you want when your service must be reachable on standard ports and tied to a domain. Figure out whether you need inbound connections, and let that decide the plan.