mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
1.6 KiB
1.6 KiB
title, description, tags
| title | description | tags | ||
|---|---|---|---|---|
| Tailscale VPN | Create a VPN using Tailscale. |
|
Tailscale VPN
Info
This is an easy-to-use example for creating your own private VPN on Railway.
Steps
- Create an account on tailscale.com.

- Follow the instructions to install Tailscale on your own device that you want to connect to the VPN.
- Go to the Settings tab, and to go Keys. Then, click on Generate auth key....

- Select the options for making it Ephemeral and Reusable, then click Generate key.

- Copy the key that it gives you. It looks something like
tskey-h1M24bEnVnd-n8J2LteLAFJLm8HQn3m. (This is a fake key, don't bother trying it.)
- Configure this starter, and put in the key as
TAILSCALE_AUTHKEY. - Wait for it to finish deploying, and go to the admin page.
- Where it says
railway-app, click on the triple dots.
- Then, click Edit route settings.... Then, turn on the option that says Use as exit node.

- Configure your computer to use the exit node, and you're done!