Forrest logo
back to the chisel tool

chisel:tldr:797e8

chisel: 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}
try on your machine

The command "chisel client ${server_ip}:${server_port} ${local_port}:${remote_server}:${remote_port}" is used to establish a secure tunnel between a client and a remote server using Chisel.

Here is a breakdown of the command:

  • "chisel client": This portion of the command instructs the Chisel tool to act as a client.
  • "${server_ip}:${server_port}": This specifies the IP address and port of the Chisel server to connect to. The client will establish a connection with this server.
  • "${local_port}:${remote_server}:${remote_port}": This specifies the local port on which the client will listen for incoming connections. When a connection is made to this local port, Chisel will forward the traffic to the remote server specified by "${remote_server}:${remote_port}".

To put it simply, this command sets up a client using Chisel, connects it to a Chisel server at "${server_ip}:${server_port}", and forwards traffic between a local port "${local_port}" on the client machine and the remote server specified by "${remote_server}:${remote_port}".

Note that Chisel is a tool for creating HTTP(S) tunnels. It allows you to securely access remote services or bypass network restrictions by establishing encrypted tunnels between the client and server.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the chisel tool