githubEdit

brailleInstall Tailscale

Set up and use your own VPN server.

1. Install dependencies

Dependencies for installation.

# Debian, Ubuntu, Linux Mint, Kali Linux, Pop!_OS (APT)
sudo apt install -y curl

# RHEL, Fedora, CentOS, AlmaLinux, Rocky Linux (DNF)
sudo dnf install -y curl

# Arch Linux, Manjaro, CachyOS, EndeavourOS, Artix Linux (Pacman)
sudo pacman -S --noconfirm curl

# openSUSE Tumbleweed, openSUSE Leap, SUSE Linux Enterprise, GeckoLinux, Regata OS (Zypper)
sudo zypper -n install curl

2. Install Tailscale

You can install it as follows.

# Pull and run the specified shell script
curl -fsSL https://tailscale.com/install.sh | sh

# Enable and start Tailscale
sudo systemctl enable tailscale
sudo systemctl start tailscale

3. Login to the Tailscale

You must be connected to the Tailscale network on both your server and your clients.

4. Advertise exit node

Select a host machine as the exit node. This represents the device you will use as the VPN.

Finally, open the menu of the machine labeled "Exit Node" from Tailscale dashboardarrow-up-right and select the "Use as exit node" option in "Edit route settings...".

5. Connect to the exit node

You can successfully use your VPN service by connecting to the exit node from different devices.

You can find the exit node address from the Tailscale dashboardarrow-up-right or on the server with the following command.

TIP: Stop being an exit node

You can stop being an exit node as follows.

TIP: Stop using exit node

You can stop using the exit node as follows.

TIP: Uninstall Tailscale

You can uninstall it as follows.

Last updated