jpillora / chisel

A fast TCP/UDP tunnel over HTTP
MIT License
13.28k stars 1.38k forks source link

Chisel Client Identifier #468

Open l-urk opened 11 months ago

l-urk commented 11 months ago

Here's my setup chisel server -p 32101 --reverse and client myserverip32101 R:8071:localhost:32100 is there someway to identify the client when logging into the server? I would like the name of the client, for example the output of whoami to be displayed on the server side when a new client logs in. Thanks in advance!

jpillora commented 11 months ago

you can use an authfile to create a list of users for clients. i cant remember if the usernames are logged, but give it a try :)

On Thu, 16 Nov 2023 at 00:28, L @.***> wrote:

Here's my setup chisel server -p 32101 --reverse and client myserverip32101 R:8071:localhost:32100 is there someway to identify the client when logging into the server? I would like the name of the client, for example the output of whoami to be displayed on the server side when a new client logs in. Thanks in advance!

— Reply to this email directly, view it on GitHub https://github.com/jpillora/chisel/issues/468, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE2X44NDKNOEQQQ3XMILOLYES7PXAVCNFSM6AAAAAA7MP3NOGVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE4TINZYGAYDMNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

l-urk commented 11 months ago

@jpillora I'd you could please give an example set up that would be VERY helpful. Thank you , awesome!