Prerequisites
- Linux server (Ubuntu 22.04 or 24.04 recommended)
- Root or sudo access
- Outbound internet access (no inbound ports required)
- Subnets you want to expose (e.g.,
10.150.50.0/24)
How to Create an Agent
Enter Agent Details
- Name: Descriptive name (e.g.,
production-dc-istanbul) - Location: Physical location (e.g.,
Istanbul Data Center) - Customer Subnets: Network ranges to expose (e.g.,
10.150.50.0/24)
How to Install the Agent
After creating the agent, run the installation script on your server:The actual script with your authentication key is displayed after agent creation.
How to Approve Routes
Your infrastructure is now connected to ShiftLabs.
How to Add New Subnets
How to Set Up High Availability
For redundancy, install the agent on multiple servers using the same authentication key.How to Rotate Authentication Keys
Existing connections are not affected. Only new node registrations use the new key.
How to Delete an Agent or Node
Delete a node:- Go to agent detail → Nodes tab
- Click delete icon on the node
- The node disconnects immediately
- Go to agent detail page
- Click Delete and confirm
Network Requirements
Mesh Agent requires only outbound connectivity:| Protocol | Port | Purpose |
|---|---|---|
| UDP | 41641 | WireGuard tunnel |
| HTTPS | 443 | Coordination server |
No inbound ports need to be opened on your firewall.
Troubleshooting
Agent shows as Inactive
Agent shows as Inactive
- Check server has internet connectivity
- Verify Tailscale service is running:
- Restart if needed:
Routes not working
Routes not working
- Verify routes are enabled (not “Pending”) in Routes tab
- Enable IP forwarding:
- Check advertised routes:
Authentication failed
Authentication failed
- Verify you copied the complete installation script
- Check if authentication key expired
- Generate new key with Rotate Key and reinstall
Connection drops frequently
Connection drops frequently
- Check network stability on agent server
- Verify firewall isn’t blocking UDP port 41641
- Check for IP conflicts in your network
FAQ
How many agents can I create?
How many agents can I create?
No limit. Create as many as needed for different locations.
Can I use the same subnets across different agents?
Can I use the same subnets across different agents?
Yes. ShiftLabs handles IP translation automatically to prevent conflicts.
What happens if my agent goes offline?
What happens if my agent goes offline?
It shows as “Inactive”. Operations targeting that infrastructure will fail until reconnected. The agent reconnects automatically when network is available.
Do I need a static IP?
Do I need a static IP?
No. Works with dynamic IPs and behind NAT.
How do I migrate an agent to a new server?
How do I migrate an agent to a new server?
- Install on new server using the same authentication key
- Verify new node appears in Nodes tab
- Delete the old node