From 143014a91e695106d8383ed173c482b3b4519663 Mon Sep 17 00:00:00 2001 From: Keuin Date: Mon, 4 Sep 2023 01:57:22 +0800 Subject: initial version --- example/client.toml | 7 +++++++ example/server.toml | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 example/client.toml create mode 100644 example/server.toml (limited to 'example') diff --git a/example/client.toml b/example/client.toml new file mode 100644 index 0000000..fff3308 --- /dev/null +++ b/example/client.toml @@ -0,0 +1,7 @@ +[client] +addr = "127.0.0.1:10000" + +[[service]] +name = "Telnet" +addr = "127.0.0.1:1112" + diff --git a/example/server.toml b/example/server.toml new file mode 100644 index 0000000..e443ef2 --- /dev/null +++ b/example/server.toml @@ -0,0 +1,19 @@ +[server] +listen = "0.0.0.0:10000" +allow_help = false + +[[service]] +name = "SSH" +addr = "127.0.0.1:22" + +[[service]] +name = "Telnet" +addr = "127.0.0.1:1111" + +[[service]] +name = "Website" +addr = "127.0.0.1:80" + +[[service]] +name = "RemoteDesktop" +addr = "127.0.0.1:3389" -- cgit v1.2.3