diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/client.toml | 7 | ||||
-rw-r--r-- | example/server.toml | 19 |
2 files changed, 26 insertions, 0 deletions
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" |