Tailscale
Tailscale integration lets you access Pawz remotely and expose agent services over your tailnet.What is Tailscale?
Tailscale creates a private mesh VPN between your devices. With Pawz + Tailscale, you can:- Access Pawz from any device on your tailnet
- Expose agent services (webhooks, APIs) to your other machines
- Use Tailscale Funnel to make services available on the public internet
Setup
- Install Tailscale
- Authenticate:
tailscale up - Enable in Pawz Settings → Advanced
Tailscale Serve
Expose a local service to your tailnet:https://your-machine.tail-net.ts.net/.
Tailscale Funnel
Expose a service to the public internet:Use cases
- Remote access — use Pawz from your phone or another computer
- Webhook receiver — let external services (GitHub, Stripe) send events to your agents
- Webchat — run a public-facing chatbot powered by your Pawz agents
- API gateway — expose agent APIs for other apps to consume
Webhook server
Pawz includes a built-in webhook server that receives external events and routes them to agents. Combined with Tailscale, you can receive webhooks from services like GitHub, Stripe, or n8n without exposing your machine to the public internet.How it works
- External service sends an HTTP POST to your webhook endpoint
- Pawz validates the request (auth token, rate limiting)
- The payload is routed to the assigned agent based on webhook routing rules
- The agent processes the event and can trigger tasks, send messages, or take actions
Configuration
Configure webhooks in Settings → Advanced → Webhooks:| Setting | Description |
|---|---|
| Webhook port | Local port for the webhook server (default: 3001) |
| Auth token | Required token in the Authorization header |
| Rate limit | Max requests per minute (default: 60) |
| Agent routing | Which agent handles which webhook paths |
Using with Tailscale
Example: GitHub webhook
- In GitHub repo settings → Webhooks → Add webhook
- Set the URL to
https://your-machine.tail-net.ts.net/webhooks/github - Set the secret to match your Pawz webhook auth token
- Select events (push, PR, issues)
- In Pawz, route
/webhooks/githubto your development agent
Troubleshooting
| Problem | Fix |
|---|---|
| Tailscale not connecting | Run tailscale status to verify authentication. Re-authenticate with tailscale up. |
| Serve not working | Ensure the local service is running on the specified port before running tailscale serve. |
| Funnel not available | Funnel requires Tailscale v1.40+ and must be enabled in your Tailscale admin console under DNS → Funnel. |
| Webhooks not received | Check that the auth token matches and the webhook port is correct. Verify with curl -X POST -H "Authorization: Bearer <token>" http://localhost:3001/test. |

