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

Running inside a container show localhost #402

Closed
kerenskybr opened this issue Sep 27, 2021 · 2 comments
Closed

Running inside a container show localhost #402

kerenskybr opened this issue Sep 27, 2021 · 2 comments

Comments

@kerenskybr
Copy link

Hi,
I'm trying to run proxychains from a docker container. I'm using the script given here: #246 but inside container, it's showing localhost:

[proxychains] Strict chain  ...  127.0.0.1:9050  ...  timeout
curl: (7) Couldn't connect to server

It's working nicely outside of container. What i missing?

@rofl0r
Copy link
Owner

rofl0r commented Sep 28, 2021

is the container running tor ?

@kerenskybr
Copy link
Author

The "issue" was my fault. I changed to use vars (PROXY_DNS=$1, PROXY_PORT=$2) and forget to change $@ to the next variable ($3). Silly mistake. Then proxychains was failing and using default config.

Now everything is working as expected

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

2 participants