mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-24 00:02:09 +02:00
chisel: add page (#3343)
This commit is contained in:
parent
af27d2f96a
commit
28d4a486f4
1 changed files with 28 additions and 0 deletions
28
pages/common/chisel.md
Normal file
28
pages/common/chisel.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# chisel
|
||||
|
||||
> Chisel is a tool creating a TCP tunnel. Including both client and server.
|
||||
> More information: <https://github.com/jpillora/chisel>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue