Skip to content

Multiplexing support (redirect real TCP traffic) #184

@lars18th

Description

@lars18th

Hi,

The request is to support this use case:

Phantun client ----------+----> TCP/22 ----+-------> Phantun Server
                         |                 |
SSH Client --------------/                 \---------> SSH server

The objective is to run the Phathun Server listeing in the PUBLIC port 22 (or 443), and pass non-Phantun streams to another server (in this case one real TCP server).

I feel this could be feasible with the use of the --handshake-packet option. So to distinguish between a Phantun client or any other client (tcp) you could use this magic handshake. Then you can process packets to the source of the Phantun client, and resend to the target tcp server all non-Phantun packets received from other sources.

What you think about this enhancement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions