https://github.com/koho/udpp
A Point-to-Point UDP Tunnel.
https://github.com/koho/udpp
Last synced: about 1 year ago
JSON representation
A Point-to-Point UDP Tunnel.
- Host: GitHub
- URL: https://github.com/koho/udpp
- Owner: koho
- License: mit
- Created: 2023-08-03T09:28:04.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-03T16:18:41.000Z (almost 3 years ago)
- Last Synced: 2025-02-16T10:21:02.444Z (over 1 year ago)
- Language: Go
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# udpp
A Point-to-Point UDP Tunnel.
## Usage
Generate an example config file:
```shell
udpp new
```
A new file `config.yml` was created in current directory.
```yaml
id: 1f0e4346-b633-4525-af3c-33f8f4aa841b
server: redis://127.0.0.1:6379
local: 127.0.0.1:9999
```
The server only supports redis for now.
### Server
The following configuration exposes a service listening on udp port 9999.
```yaml
id: 1f0e4346-b633-4525-af3c-33f8f4aa841b
server: redis://127.0.0.1:6379
local: 127.0.0.1:9999
```
### Client
Access your server using `peer` config:
```yaml
id: e5958a55-1c94-4368-82fa-86de1e1af24a
server: redis://127.0.0.1:6379
local: 127.0.0.1:5321
peer:
id: 1f0e4346-b633-4525-af3c-33f8f4aa841b
bind: 127.0.0.1:6565
```
The client listens on `127.0.0.1:6565` for incoming traffic and forwards to the target peer.
Note that `127.0.0.1:5321` is the source address of your local visitor client.