chisel icon indicating copy to clipboard operation
chisel copied to clipboard

Question: Can chisel server be configured to allow only certain ports?

Open nitinsh99 opened this issue 2 years ago • 1 comments

Unless I am missing something I can't find a way to make chisel server only tunnel traffic to certain port on the machine it is running. Due to my use case, I can't use the authentication b/w server and client and I need chisel server to only expose a specific port in the machine it is running on. Is that possible?

nitinsh99 avatar Oct 11 '22 22:10 nitinsh99

chisel server --port 1234 only allows connections on port 1234

if that isn't what you want, you can create a users.json file bound to the server (--auth option) which restricts the remotes clients can use. your auth file can just use a dummy user john:doe and the you can just chisel client --auth john:doe ...

jpillora avatar Oct 31 '22 05:10 jpillora