16 lines
409 B
Markdown
16 lines
409 B
Markdown
|
# Rustocat
|
||
|
|
||
|
Rustocat is a simple socat alternative with way less features, but it has a config file.
|
||
|
|
||
|
## Config File
|
||
|
|
||
|
Configs can be either yaml or json and can be located in /etc/rustocat.{yaml|json} or ind the current working directory as config.{yaml|json}.
|
||
|
|
||
|
```yaml
|
||
|
tcp:
|
||
|
- source: 0.0.0.0:2222
|
||
|
target: 127.0.0.1:22
|
||
|
```
|
||
|
|
||
|
Currently only TCP is supported, UDP/Unix Socket support might be added later.
|