Skip to content

Add TCP tunnel command for port forwarding #56

@jisung-02

Description

@jisung-02

Description

  • Implement a new tunnel command that creates TCP tunnels to forward local port traffic to remote server ports through WebSocket + smux multiplexing.

Use Cases:

  • Forward local port to remote server's service port (e.g., database, web server)
  • SSH tunneling through Alpacon proxy
  • Access internal services behind firewall

Features:

  • WebSocket + smux multiplexing for efficient connection handling
  • Buffer pooling for reduced GC pressure and improved performance
  • Support for multiple protocols: TCP, SSH, VNC, RDP, PostgreSQL, MySQL

Usage Example:

alpacon tunnel my-server --local [local port] --remote [remote port]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions