https://github.com/anarchist-network/paas-vpn
Tailscale VPN on PaaS hostings such as railway, render, back4app and etc.
https://github.com/anarchist-network/paas-vpn
back4app back4app-containers docker dockerfile heroku heroku-deployment paas paas-services render-deployment tailscale tailscale-network uptimerobot uptimerobot-monitors vpn
Last synced: about 2 months ago
JSON representation
Tailscale VPN on PaaS hostings such as railway, render, back4app and etc.
- Host: GitHub
- URL: https://github.com/anarchist-network/paas-vpn
- Owner: Anarchist-Network
- License: gpl-3.0
- Created: 2024-07-13T20:47:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-20T09:24:27.000Z (almost 2 years ago)
- Last Synced: 2025-04-09T17:13:20.141Z (about 1 year ago)
- Topics: back4app, back4app-containers, docker, dockerfile, heroku, heroku-deployment, paas, paas-services, render-deployment, tailscale, tailscale-network, uptimerobot, uptimerobot-monitors, vpn
- Language: Dockerfile
- Homepage:
- Size: 414 KB
- Stars: 1
- Watchers: 0
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tailscale VPN on PaaS
[Tailscale VPN](https://tailscale.com) on PaaS hostings such as railway, render, back4app and etc.
### [!] Please, read this
This repository was created as a fork of https://github.com/render-examples/tailscale/ and https://github.com/Andrew-Bekhiet/railway_tailscale_vpn
# Setup manually
1. To get started, you should create an account on [tailscale](https://tailscale.com), if you already have an account skip to next step
2. Go to you tailscale admin console settings then to [keys](https://login.tailscale.com/admin/settings/keys)
3. Click on 'Generate auth key ...'

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

Remember to take a note of the key because you'll see it only once
5. Go to [render](https://render.com), choose region and set Docker as a language

6. Set free instance type

7. create TAILSCALE_AUTHKEY variable with your authkey as a value in enviroment variables and deploy.

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

9. Disable key expiry for the machine you just deployed

10. Click copy to clipboard, then create a monitor on [uptimerobot](https://uptimerobot.com) to keep your service alive 24/7.

### [!] This method works with [back4app](https://back4app.com) and other PaaS like [render](https://render.com) too.