An open API service indexing awesome lists of open source software.

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.

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 ...'

![admin_console_keys.png](./screenshots/admin_console_keys.png)

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

![generating_auth_key.png](./screenshots/generating_auth_key.png)

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

![region.png](./screenshots/region.png)

6. Set free instance type

![instance.png](./screenshots/instance.png)

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

![variable.png](./screenshots/variable.png)

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

![approve_exit_node.png](./screenshots/approve_exit_node.png)

9. Disable key expiry for the machine you just deployed

![disable_key_expiry.png](./screenshots/disable_key_expiry.png)

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

![url.png](./screenshots/url.png)

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