Virtual machines
Networking
How a flockvm VM is networked: a private IPv4 address, outbound internet, inbound SSH only, what is blocked, and what a network restriction means.
Each VM has its own private IPv4 address and full outbound internet access. The only way in is SSH, through the VM's own port on the host in France.
Addresses
| Value | |
|---|---|
| Private IP | An address in 172.16.0.0/16, such as 172.16.0.2, shown on the VM page under Private IP |
| Gateway | The host side of the VM's own small subnet (/30) |
| Public address | Its region's host's address, shared by all the region's VMs for outbound traffic |
| SSH port | One per VM, between 22001 and 22990, forwarded to the VM's port 22 |
| DNS | 1.1.1.1 and 8.8.8.8 |
| IPv6 | None: VMs are IPv4 only |
The private IP and the SSH port belong to the VM until you delete it: they stay the same through pause, resume, stop and start.
Outbound: open to the internet
A VM can reach any public IPv4 address, on any port but one (SMTP, below): package registries, git hosts, model APIs, Docker Hub.
Every VM's traffic leaves through the host's public address. Services that see your requests see that address, not one per VM.
Each size has upload and download limits: see Sizes.
Inbound: SSH only
From the internet, only the VM's SSH port reaches it, on the VM's port 22. Nothing else gets in: a web server listening on port 3000 or 80 in the VM is not reachable from outside.
| From | To the VM | Result |
|---|---|---|
| Internet | Its SSH port on the host | Reaches the VM's sshd |
| Internet | Any other port | Blocked |
| Another VM | Anything | Blocked |
Show a dev server
Since only SSH comes in, use one of these to open a server that runs in the VM.
For yourself. The VM's port becomes a port on your machine:
Open http://localhost:3000. Nothing is exposed to anyone else. See Connect over SSH.
For a link you share. cloudflared opens an outbound connection, then gives you a public trycloudflare.com URL:
For a link you share, with an ngrok account:
Anyone with the link can use it
A public tunnel exposes your dev server to the internet. Put authentication in front of anything that is not meant to be public, and stop the tunnel when you are done. Open proxies and services that let strangers send traffic from your VM are not allowed: see Acceptable use.
What is blocked
These are blocked for every VM, by the host:
| Blocked | Details |
|---|---|
| Outbound SMTP, port 25 | Refused at once. Send mail through your provider's API or its submission port (587 or 465). |
| The host itself | No access to the host's services, DNS or SSH from a VM. |
| Other VMs | No traffic between VMs, even yours. |
| Private and reserved ranges | 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, multicast and others. The cloud provider's metadata service is out of reach too. |
| IPv6 | VMs have no IPv6. |
| Spoofed traffic | A VM can only send from its own address. |
| Known-bad destinations | Addresses on Spamhaus DROP and abuse.ch Feodo Tracker (botnet command servers), and public cryptocurrency mining pools. These lists are refreshed every 6 hours. |
169.254.169.254 answers inside the VM, but it is the VM's own metadata service, used once at first boot to install your SSH key. It never reaches the host's network.
Network restriction
flockvm watches traffic metadata from the host (counts, ports, destinations, never the content) to spot abuse such as port scans, SSH brute force, floods, spam or mining. flockvm can then restrict a VM's network.
A restricted VM:
- keeps running, with its disk and processes;
- still accepts SSH, so you can log in, look around and copy your data out;
- sends nothing out: every connection it opens, including ones already open, is dropped.
The VM page shows a red notice with the date and the written reason:
Outbound network restricted since date The reason, as written by the flockvm team. Inbound SSH still works. If you think this is a mistake, write to hello@flockvm.com.
The Fleet list shows the same restriction under the VM's name. The restriction stays through pause, resume, stop and start, and goes away when the flockvm team lifts it or when you delete the VM.
See Acceptable use for what triggers a restriction and how to contest one.
Next steps
Port forwarding and ~/.ssh/config.
How VMs are kept apart on the host.
Abuse protections and reporting.