Forrest logo
back to the chisel tool

chisel:tldr:630e9

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

This command is using the "chisel" tool to establish a client connection and tunnel traffic between a client and a server.

Here's a breakdown of the command and its parameters:

  • chisel: This is the command-line tool used to create encrypted TCP tunnels.

  • client: This specifies that we want to run the client mode of chisel.

  • ${server_ip}:${server_port}: This is the IP address and port of the server to connect to. The client will establish a connection with this server.

  • ${local_host}:${local_port}: This is the local host and port to bind the client tunnel. The traffic from the client will be forwarded to the specified server IP and port.

  • ${remote_server}:${remote_port}: This is the remote server and port to forward the traffic to. The tunnel created by chisel on the client-side will forward traffic to this remote server and port.

In summary, this command tells chisel to create a client tunnel that will connect to a specified server. The client will bind to a local host and port, forward the traffic to the server IP and port, and then forward that traffic to a remote server and port.

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