-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using auth.json file with target verification #543
Comments
I believe the remotes list is a list of regular expressions
…On Wed, 25 Dec 2024 at 9:19 pm, efiwaissman ***@***.***> wrote:
Hi
I'm using a reversed chisel server with an auth.json file, for example:
{
"user1:123": ["R:0.0.0.0:5555"]
}
On some remote machine I'm running chisel client with the following
command:
.\chisel client --auth "user1:123" <my-server-ip> R:0.0.0.0:5555
:<remote-server-ip>
Everything works fine with this setup and the chisel client is
authenticated and is limited to 0.0.0.0:5555 only, however I would also
like to limit the remote server (<remote-server-ip>) so that the chisel
server will only allow port forwarding to closed set of remotes per user,
is there a way to do it as well?
Thanks
—
Reply to this email directly, view it on GitHub
<#543>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAE2X4YPKBCO4H5LHUPL6WT2HKBDPAVCNFSM6AAAAABUF2NT2GVHI2DSMVQWIX3LMV43ASLTON2WKOZSG42TQNZQG4ZDEMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@jpillora Thanks for the quick replay. According to the documentation:
So to clarify, looking at the definition of a remote port forward in reverse mode: Thanks again |
Hi
I'm using a reversed chisel server with an
auth.json
file, for example:On some remote machine I'm running chisel client with the following command:
.\chisel client --auth "user1:123" <my-server-ip> R:0.0.0.0:5555:<remote-server-ip>
Everything works fine with this setup and the chisel client is authenticated and is limited to
0.0.0.0:5555
only, however I would also like to limit the remote server (<remote-server-ip>
) so that the chisel server will only allow port forwarding to closed set of remotes per user, is there a way to do it as well?Thanks
The text was updated successfully, but these errors were encountered: