From 28d4a486f4d2bd22ced2b33c6fd917e31d6bab5a Mon Sep 17 00:00:00 2001 From: Ohad Eytan Date: Tue, 8 Oct 2019 09:16:02 +0300 Subject: [PATCH] chisel: add page (#3343) --- pages/common/chisel.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/chisel.md diff --git a/pages/common/chisel.md b/pages/common/chisel.md new file mode 100644 index 000000000..8bb135ab3 --- /dev/null +++ b/pages/common/chisel.md @@ -0,0 +1,28 @@ +# chisel + +> Chisel is a tool creating a TCP tunnel. Including both client and server. +> More information: . + +- Run a chisel server: + +`chisel server` + +- Run a chisel server listening to a specific port: + +`chisel server -p {{server_port}}` + +- Run a chisel server securing the connection using a username and password authentication: + +`chisel server --auth {{username}}:{{password}}` + +- Connect to a chisel server and tunnel a specific port to a remote server and port: + +`chisel client {{server_ip}}:{{server_port}} {{local_port}}:{{remote_server}}:{{remote_port}}` + +- Connect to a chisel server and tunnel a specific host and port to a remote server and port: + +`chisel client {{server_ip}}:{{server_port}} {{local_host}}:{{local_port}}:{{remote_server}}:{{remote_port}}` + +- Connect to a chisel server using a username and password authentication: + +`chisel client --auth {{username}}:{{password}} {{server_ip}}:{{server_port}} {{local_port}}:{{remote_server}}:{{remote_port}}`