Skip to content
Menu
Marius Serbanica – Tech Blog
  • My Tech Blog
  • About me
  • Contact Me
  • Curriculum Vitae
  • Projects
  • Current Projects List
  • Certifications
  • Home Lab
  • Self-Hosted
  • Linux Cheat Sheet
  • Linux Commands
  • Privacy Policy
  • Site Map
Marius Serbanica – Tech Blog
October 27, 2024October 27, 2024

Replacing Cloudflare Tunnel with Tailscale on a VPS

Why Switch from Cloudflare Tunnels to Tailscale?

While Cloudflare Tunnels is a popular choice for opening home networks, Tailscale offers greater control over device access and simplified configuration using WireGuard. With Tailscale on a VPS, you can secure your home network without compromising on security or dealing with port-forwarding and firewall configurations.


Prerequisites

Tailscale Installation: Install Tailscale on all devices (computers, mobile devices) that need access to your network.

VPS Setup: You’ll need an active VPS running a Linux distribution such as Ubuntu or Debian.

Tailscale Account: Sign up for Tailscale if you don’t already have an account.

Install Tailscale on Your VPS
Start by logging into your VPS. Install Tailscale with the following commands:

curl -fsSL https://tailscale.com/install.sh | sh
Bash

This script automatically installs the latest version of Tailscale.

Authenticate Your VPS with Tailscale
Run Tailscale on the VPS:

sudo tailscale up
Bash

You’ll be provided a URL to log into your Tailscale account and authorize your VPS as a Tailscale node.

Link Your Devices
Install Tailscale on each device you want to connect to the VPS. After installation, run sudo tailscale up on each device and authorize them in your Tailscale dashboard.

Configure Access Control
Use Tailscale’s admin console (https://login.tailscale.com/admin) to manage access control. Here you can:

  • Add/Remove Devices: Control which devices are allowed to join.
  • Assign Permissions: Set specific access levels, such as limiting which devices can communicate with each other.

Access Your Home Network via VPS
With Tailscale, each device on your network receives a private IP address (usually starting with 100.x.x.x). Use these IPs to access resources on your home network from anywhere without exposing your public IP.

Additional Tips and Benefits

  • Direct Access via WireGuard: Unlike Cloudflare, which routes traffic through its servers, Tailscale uses point-to-point encryption, allowing faster, more private access.
  • Easy VPN Configuration: Tailscale automatically handles network configuration, eliminating complex setup steps associated with traditional VPNs.

Share on Social Media
x facebook linkedin

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Join my LinkedIn Network.

Recent Posts

  • Kubernetes cluster. Why and how
  • Installing GNU-World on ircu2
  • Replacing Cloudflare Tunnel with Tailscale on a VPS
  • KASM – My main workspace RBI
  • Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense

Archives

  • February 2025
  • January 2025
  • October 2024
  • May 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023

Categories

  • How-To
  • Tech Industry
  • Tech, but personal
  • Tutorials

Recent Comments

  1. IRC Lamer on Installing GNU-World on ircu2
  2. severus2231 on Transforming a Mini PC into a Powerful Home Network Hub / Router/ Firewall with OPNsense
  3. admin on Mounting a NAS (Network Attached Storage) device on Linux
  4. abL on Mounting a NAS (Network Attached Storage) device on Linux
  5. Alin R on Cleaning up your Linux OS.
Social Media
Find me on social media
Facebook Twitter Instagram LinkedIn

©2025 Marius Serbanica – Tech Blog