Skip to content

Conversation

@jisung-02
Copy link

Summary

  • Added tunnel command for TCP tunneling functionality
  • Implemented efficient connection handling through WebSocket + smux multiplexing

Key Changes

New Feature: alpacon tunnel command

  • Creates TCP tunnels that forward local port traffic to remote server ports
  • Supports connection multiplexing using the smux library
  • Provides username/groupname specification options
  • Connection logs viewable in verbose mode

How to use

alpacon tunnel [SERVER NAME] -l 9000 -r 5432

  • Then connect to the tunneled service:
    psql -h localhost -p 9000 -U [user] postgres
  • This creates a local tunnel on port 9000 that forwards traffic to port 5432 on the remote server. You can then connect to PostgreSQL through the local port.

@jisung-02 jisung-02 self-assigned this Dec 19, 2025
@jisung-02 jisung-02 marked this pull request as draft December 22, 2025 08:34
@jisung-02 jisung-02 marked this pull request as ready for review December 22, 2025 13:35
@jisung-02 jisung-02 marked this pull request as draft December 26, 2025 06:15
@jisung-02 jisung-02 marked this pull request as ready for review December 26, 2025 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants