Host tunnelto server yourself
masterTo host your own tunnelto server:
- Compile the server for the
musltarget (amusl_build.shscript is available in the repo for Docker-based builds). - Use the provided
Dockerfileto create an Alpine-based image containing the server binary. - Deploy the image to your preferred environment.
Note on Scaling: The current implementation does not support multiple running servers with centralized coordination. If you deploy multiple instances, clients must connect to the same instance that handles the remote TCP stream. The official tunnelto.dev version uses Fly.io's Private Networking to manage a distributed system via a gossip mechanism.