Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TunnelCmd = &cobra.Command{ Use: "tunnel SERVER", Short: "Create a TCP tunnel to a remote server", Long: ` This command creates a TCP tunnel that forwards local port traffic to a remote server's port. The tunnel uses WebSocket + smux multiplexing for efficient connection handling. `, Example: ` # Create a tunnel to forward local port 9000 to remote port 8082 alpacon tunnel my-server -l 9000 -r 8082 # Forward local port 9000 to remote port 8082 (long flags) alpacon tunnel my-server --local 9000 --remote 8082 # Forward local port 2222 to remote server's SSH port (22) alpacon tunnel my-server -l 2222 -r 22 # Specify username and groupname for the tunnel alpacon tunnel my-server -l 9000 -r 8082 -u admin -g developers `, Args: cobra.ExactArgs(1), Run: runTunnel, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.