Skip to content
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

How could configure authfile when using remote socks #518

Open
tangr opened this issue Jun 5, 2024 · 0 comments
Open

How could configure authfile when using remote socks #518

tangr opened this issue Jun 5, 2024 · 0 comments

Comments

@tangr
Copy link

tangr commented Jun 5, 2024

HI,

chisel version: chisel_1.7.7_linux_amd64

server runs:
chisel-server server --reverse --socks5 -p 28080 --authfile users.json2

users.json2:

{
	"root:toor": [
		""
	],
	"foo:bar": [
		"^0.0.0.0:3000$"
	],
	"foo:bar2": [
		"^0.0.0.0:3000$",
		"^socks$"
	],
	"ping:pong": [
		"^0.0.0.0:[45]000$",
		"^example.com:80$",
		"^R:0.0.0.0:7000$"
	]
}

client runs:
chisel-client client --auth foo:bar2 127.0.0.1:28080 socks

failed error logs:


> 2024/06/05 15:11:26 client: Connecting to ws://127.0.0.1:28080
> 2024/06/05 15:11:26 client: tun: proxy#127.0.0.1:1080=>socks: Listening
> 2024/06/05 15:11:26 client: Connection error: server: access to ':' denied
> 2024/06/05 15:11:26 client: Give up

so how could I configure the authfile correctly when use socks proxy?

thx

@tangr tangr changed the title How could to configure authfile when using remote socks How could configure authfile when using remote socks Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant