Install Tailscale
Set up and use your own VPN server.
1. Install required tools
Required tools for installation.
# Debian, Ubuntu, Kali, Linux Mint (APT)
sudo apt install -y curl
# Red Hat, CentOS, Fedora, AlmaLinux, Rocky (DNF / YUM)
sudo dnf install -y curl
sudo yum install -y curl
# OpenSUSE (Zypper)
sudo zypper -n install curl
# Arch, Manjaro (Pacman)
sudo pacman -S --noconfirm curl2. Install Tailscale
Install Tailscale with shell script.
# 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 tailscale3. 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 dashboard 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 dashboard 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
This is how you can uninstall Tailscale.
Last updated