Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/niranjan94/tsnet-relay
A configurable relay with your tailnet via tsnet
https://github.com/niranjan94/tsnet-relay
networking proxy tailscale tunnel vpn
Last synced: 21 days ago
JSON representation
A configurable relay with your tailnet via tsnet
- Host: GitHub
- URL: https://github.com/niranjan94/tsnet-relay
- Owner: niranjan94
- Created: 2024-10-05T09:24:13.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-01T15:01:12.000Z (about 1 month ago)
- Last Synced: 2025-01-01T15:36:24.216Z (about 1 month ago)
- Topics: networking, proxy, tailscale, tunnel, vpn
- Language: Go
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![DeepSource](https://app.deepsource.com/gh/niranjan94/tsnet-relay.svg/?label=active+issues&show_trend=true&token=Do84hQ3_bWTShmuaJu5RikAE)](https://app.deepsource.com/gh/niranjan94/tsnet-relay/)
## Tailscale Relay
> Work in progress. Expect breaking changes.
Easily create relays b/w services running on tailscale
### Usage
```
Usage of ./tsnet-relay:
-advertise-tags string
Tags to use for the server
-config string
Path to the configuration file (default "config.json")
-ephemeral
Use an ephemeral hostname
-hostname string
Hostname to use for the server
-idle-timeout int
Exit after specified number of seconds with no incoming connections (0 to disable)
-state string
State store to use for the server (default "mem:")
-verbose
Enable verbose logging
```### Configuration
The configuration file is a JSON file with the following format:
```json
{
"tunnels": [
{
"enabled": true,
"name": "expose-remote-locally",
"source": "tcp://:3000",
"destination": "tcp+tailnet://fake-server.fake-network.ts.net:2746"
},
{
"enabled": true,
"name": "expose-local-on-tsnet",
"source": "tcp+tailnet://:3001",
"destination": "tcp://127.0.0.1:3000"
}
]
}
```