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

Setting up proxy #233

Open
PuddinPants opened this issue Aug 15, 2016 · 6 comments
Open

Setting up proxy #233

PuddinPants opened this issue Aug 15, 2016 · 6 comments

Comments

@PuddinPants
Copy link

When using proxys I just get an IP:port, how do i set this up in the config? Do you use http or https?

Right now im using
PROXIES = {'https':'https://xxx.xx.x.xxx:xxxx'}

and I dont think its working properly

Thanks!

@modrzew
Copy link
Owner

modrzew commented Aug 15, 2016

I don't use proxy by myself, so I won't be an expert here, but try setting the same value for both http and https. It should be an URL in form of socks5://12.34.56.78:9012/ or something similar.

@Aiyubi
Copy link

Aiyubi commented Aug 15, 2016

note: if you use socks you will also need to pip install pysocks

my working setting with proxy over ssh:

PROXIES = {'http':  'socks5://localhost:5004',
           'https': 'socks5://localhost:5004'}

with
ssh -D 5004 [email protected]

@PuddinPants
Copy link
Author

Do I have to use socks5 if i have it installed or can it be done without?

Sorry for being new, what does the ssh -D 5004 command do?

@Aiyubi
Copy link

Aiyubi commented Aug 15, 2016

@PuddinPants its 1:1 what 1 use. So guess yeah socks5
you should know what ssh does if you try this
-D 5004 binds your local port 5004 to that connection. So every request that you send to your local port goes through that connection

@paul30001
Copy link

@Aiyubi so where and how do we use the ssh -D 5004 command?

@paul30001
Copy link

How do I know if I'm using socks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants