chalfel / railway_tailscale_vpn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Railway Tailscale VPN

Overview

Host personal VPN on Railway using Tailscale

Deploy on Railway

How to setup

  1. To get started, you should create an account on tailscale, if you already have an account skip to next step

  2. Go to you tailscale admin console settings then to keys

  3. Click on 'Generate auth key ...'

    admin_console_keys.png

  4. Give you key a description then click 'Generate key' when you are finished

    generating_auth_key.png

    Remember to take a note of the key because you'll see it only once

  5. Go to railway and paste in the key in TAILSCALE_AUTHKEY variable

  6. Deploy!

  7. Go to your tailscale machines and approve railway-app as an exit node

    approve_exit_node.png

  8. Disable key expiry for the machine you just deployed

    disable_key_expiry.png

  9. Use this command to connect to your VPN

    tailscale up --exit-node railway-app # or replace railway-app with your hostname

More Info

Tailscale

Tailscale Exit nodes

Using Tailscale Auth Keys

About

License:Apache License 2.0


Languages

Language:Dockerfile 59.2%Language:Shell 40.8%