Create a Tailscale exit node with simple commands.
Bring your own key and pay your own bill, then let me do the rest.
link
Add the following ACL changes:
"tagOwners": {
"tag:tailportal": ["autogroup:admin"],
},
"autoApprovers": {
"exitNode": ["tag:tailportal"],
},
// Add ssh if you want to do more with the exit node
"ssh": [
{
"action": "accept",
// !!IMPORTANT Change this
"src": ["username@GitHub"],
"dst": ["tag:tailportal"],
"users": ["autogroup:nonroot", "root"],
},
]
- Create tailscale authkey
TBD: Vultr/Digital Ocean/AWS
I'll provide better config management in the future.
VULTR_API_KEY=
PULUMI_CONFIG_PASSPHRASE=
TS_AUTH_KEY=
git clone https://github.com/Yukaii/tailportal
pnpm install
pnpm start
pnpm start list
pnpm start create
pnpm start remov instance-name
pnpm start destroy
- instance management: status, shutdown...
- simple TUI
Provider | Startup time (seconds) |
---|---|
vultr | 70 secs |
gcp | ~40 secs |
CLI draft
WIP WIP WIP
-h, --help
: Show help and exit-v, --version
: Show version and exit
- Create and configure a new Tailportal instance
- Options:
provider
: Specify the cloud provider (e.g. AWS, GCP, DigitalOcean)location
: Specify the location of the instance (e.g. us-west-2, europe-west1)authkey
: Specify the Tailscale AuthKey (optional, will prompt if not provided)
- Destroy the current Tailportal instance
- List all available instances
- Show the status of the current instance
- List available regions for each provider
- Options:
--provider
: Specify the cloud provider (e.g. AWS, GCP, DigitalOcean)--detail
: Show detailed information about each region (e.g. availability zones, instance types)
- List available cloud providers
- Options:
--detail
: Show detailed information about each provider (e.g. supported regions, instance types)
tailportal up --provider=aws --location=us-west-2
: Create a new instance on AWS in us-west-2tailportal down
: Destroy the current instancetailportal list
: List all available instancestailportal status
: Show the status of the current instancetailportal regions
: List available regions for all providerstailportal regions --provider=aws
: List available regions for AWStailportal regions --provider=aws --detail
: Show detailed information about each AWS regiontailportal providers
: List available cloud providerstailportal providers --detail
: Show detailed information about each provider (e.g. supported regions, instance types)
MIT