Adjust version and README
This commit is contained in:
@ -7,12 +7,13 @@ Rustocat is a simple socat alternative with way less features, but it has a conf
|
||||
Configs can be either yaml or json and can be located in /etc/rustocat.{yaml|json} or in the current working directory as config.{yaml|json}.
|
||||
|
||||
```yaml
|
||||
tcp:
|
||||
- source: 0.0.0.0:2222
|
||||
mappings:
|
||||
- udp: false
|
||||
source: 0.0.0.0:2222
|
||||
targets: [127.0.0.1:22]
|
||||
```
|
||||
|
||||
Currently only TCP is supported, UDP/Unix Socket support might be added later.
|
||||
There is support for UDP and TCP sockets. Each socket can have multiple targets.
|
||||
|
||||
When multiple targets are set, it will randomly pick one of them.
|
||||
|
||||
|
Reference in New Issue
Block a user