Uki (pronounced ookee
) is a fast, simple and cross-platform packet forwarder and encryptor. It allows you to forward UDP and TCP packets between two or more hosts, and encrypts the packets to protect your data from prying eyes (you read "firewalls"!). Uki is easy to use, and can be configured with a simple command line interface.
Here are some of the features of Uki:
IPs and ports are just for illustration. Both IPv4 and IPv6 are supported.
For globally listen on IPv4, use 0.0.0.0
, and for IPv6, use [::]
.
Here's an example configuration:
text
Client Traffic <==> Uki Client <==> <Uki Traffic> <==> Uki Server <==> Remote Traffic
| |
| |
listen: 127.0.0.1:1111 listen: 127.0.0.1:2222
remote: 127.0.0.1:2222 remote: 127.0.0.1:3333
For Uki Client you run:
sh
uki --listen 127.0.0.1:1111 --remote 127.0.0.1:2222 --protocol udp client
And for Uki Server you run:
sh
uki --listen 127.0.0.1:2222 --remote 127.0.0.1:3333 --protocol udp server
Please consult uki --help
for more options.
Install the Uki by running cargo install uki
or use the latest prebuild binaries from Releases.
Contributions are so welcome.
```text
Usage: uki [OPTIONS] --listen
Commands: client server help Print this message or the help of the given subcommand(s)
Options:
-l, --listen timeout
seconds will be closed. (udp related protocols only) [default: 20]
--encryption
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.