summaryrefslogtreecommitdiff
path: root/example/server.toml
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-09-04 01:57:22 +0800
committerKeuin <[email protected]>2023-09-04 02:03:15 +0800
commit143014a91e695106d8383ed173c482b3b4519663 (patch)
tree717d8d34ce9a5857b0293f7fcf7ea9ba13199da7 /example/server.toml
initial versionv0.1.0
Diffstat (limited to 'example/server.toml')
-rw-r--r--example/server.toml19
1 files changed, 19 insertions, 0 deletions
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"