shadowsocks / go-shadowsocks2

Modern Shadowsocks in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make only one session between client and server?

Sia200 opened this issue · comments

Hey.

Let's say I have established a connection between the client and the server and exposing a socks server on the client.
Each time that I'll use the SOCKS server, a new connection will be created between the client and the server.
This is a problem for me because I want to control the source port that the client uses.

Is there any way to transfer all SOCKS data through one long lasting session?

Thanks

@Sia200 You can take a look at chisel. Chisel maintains one websocket connection, and create new session(ssh channel) on this exact one existing connection.