# This is why I want all VPS ports closed and only Tailscale and Cloudflare Tunnel open

DevFeed: [This is why I want all VPS ports closed and only Tailscale and Cloudflare Tunnel open](<https://devfeed.tech/articles/this-is-why-i-want-all-vps-ports-closed-and-only-tailscale-and-cloudflare-tunnel-open-111312.md>)

Original publisher: [Read original article](<https://levels.io/close-vps-ports-tailscale-cloudflare>)

Author: Pieter Levels

Published: 2026-11-01T00:00:00Z

Content type: opinion

Language: en

Sources: [@levelsio (Pieter Levels)](<https://devfeed.tech/sources/levelsio-pieter-levels.md>)

Topics: [tailscale](<https://devfeed.tech/topics/tailscale.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>)

Tags: [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [cloudflare-tunnel](<https://devfeed.tech/tags/cloudflare-tunnel.md>), [exposed](<https://devfeed.tech/tags/exposed.md>), [internet](<https://devfeed.tech/tags/internet.md>), [linux](<https://devfeed.tech/tags/linux.md>), [mptcp](<https://devfeed.tech/tags/mptcp.md>), [port](<https://devfeed.tech/tags/port.md>), [privacy](<https://devfeed.tech/tags/privacy.md>), [public](<https://devfeed.tech/tags/public.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [tailscale](<https://devfeed.tech/tags/tailscale.md>), [tcp](<https://devfeed.tech/tags/tcp.md>), [tech](<https://devfeed.tech/tags/tech.md>), [traffic](<https://devfeed.tech/tags/traffic.md>), [vps](<https://devfeed.tech/tags/vps.md>), [web](<https://devfeed.tech/tags/web.md>), [web-traffic](<https://devfeed.tech/tags/web-traffic.md>)

## AI overview

The author recommends closing all public VPS ports, using Tailscale for SSH access and Cloudflare Tunnel for web traffic. They argue that exposing even one TCP port can put a Linux server at risk, and mention disabling MPTCP as a stopgap while presenting no public ports as the stronger measure.

## Source excerpt

This is why I said you want your VPS ports all closed Then only let it be accessible inside your Tailscale for SSH and via a Cloudflare Tunnel to receive web t...