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

SOCKS5 #1321

Open
pierreprinetti opened this issue Aug 5, 2015 · 40 comments
Open

SOCKS5 #1321

pierreprinetti opened this issue Aug 5, 2015 · 40 comments

Comments

@pierreprinetti
Copy link

@pierreprinetti pierreprinetti commented Aug 5, 2015

Is it possible to set up a specific collection to fire requests through a pre-existent SOCKS proxy?

@pierreprinetti pierreprinetti changed the title SOCKS5? SOCKS5 Aug 5, 2015
@abhijitkane

This comment has been minimized.

Copy link
Member

@abhijitkane abhijitkane commented Aug 5, 2015

This is not possible at a collection level. Postman uses Chrome's default proxy settings for all requests.

@pierreprinetti

This comment has been minimized.

Copy link
Author

@pierreprinetti pierreprinetti commented Aug 5, 2015

Do you think it is feasable to implement custom proxy rules internally?

@abhijitkane abhijitkane added the feature label Aug 5, 2015
@abhijitkane

This comment has been minimized.

Copy link
Member

@abhijitkane abhijitkane commented Aug 5, 2015

Not sure. We'll look into this.

@pierreprinetti

This comment has been minimized.

Copy link
Author

@pierreprinetti pierreprinetti commented Aug 5, 2015

Thank you! Very useful project, no regrets since purchase.

@a85 a85 added transfer and removed transfer labels Jan 28, 2016
@strobelight

This comment has been minimized.

Copy link

@strobelight strobelight commented Aug 30, 2016

So, this implies Chrome must be running in order for the standalone Postman app to work? Guess I'm ok with that, just doesn't sound like a standalone app.

But, I do need to access an API via a SOCKS5 proxy, somehost:9999. Works fine when the Chrome Postman app runs, since it uses my Chrome extension SwitchyOmega. Haven't been able to figure out how to get the standalone OSX Postman app to use it.

@splagemann

This comment has been minimized.

Copy link

@splagemann splagemann commented Nov 21, 2016

Are there actual plans that this will be implemented?

@polomsky

This comment has been minimized.

Copy link

@polomsky polomsky commented Apr 26, 2017

It would be fine to have different proxy settings for each environment (e.g. for live no proxy, for devel proxy)

@fostec82

This comment has been minimized.

Copy link

@fostec82 fostec82 commented Oct 24, 2017

Is there a timeline on this feature?

@onionsheep

This comment has been minimized.

Copy link

@onionsheep onionsheep commented Oct 30, 2017

i wanna this feature too

@harryi3t harryi3t added the Proxy label Nov 7, 2017
@harryi3t harryi3t added this to Suggestion in Proxy Nov 7, 2017
@xingchen19

This comment has been minimized.

Copy link

@xingchen19 xingchen19 commented Nov 17, 2017

Without this feature, I have to give up using native postman and continue for Chrome app.

@burlacio

This comment has been minimized.

Copy link

@burlacio burlacio commented Nov 23, 2017

Hope you can integrate this before the Chrome apps are deprecated
image

@aaneez

This comment has been minimized.

Copy link

@aaneez aaneez commented Mar 1, 2018

This is still open..Any plans to fix this?

@PBXg33k

This comment has been minimized.

Copy link

@PBXg33k PBXg33k commented Mar 7, 2018

Could this get a higher priority now that the Chrome extension has been removed.

In our situation we cannot use postman to test our APIs because we need to use SOCKS proxies setup using SSH tunnels in order to access the servers

@tangyl

This comment has been minimized.

Copy link

@tangyl tangyl commented Mar 9, 2018

I end up using privoxy as http=>socks5 proxy. It can forward requests to different socks5 proxies by host patterns. e.g.

forward-socks5t a1* 127.0.0.1:1088 .
forward-socks5t a2* 127.0.0.1:1088 .
forward-socks5t a3* 127.0.0.1:1088 .
forward-socks5t sg-* 127.0.0.1:1090 .
@actopolus

This comment has been minimized.

Copy link

@actopolus actopolus commented Mar 19, 2018

When should we expect this feature?
Are you working on it?

@Skeeve

This comment has been minimized.

Copy link

@Skeeve Skeeve commented Apr 5, 2018

I'm also eagerly awaiting this feature :(

@Skeeve

This comment has been minimized.

Copy link

@Skeeve Skeeve commented Apr 5, 2018

FTTB I switched to FoxyProxy + RESTClient (both FireFox extensions) to test and debug the webservices I work with.

@AnthonyRinaldi

This comment has been minimized.

Copy link

@AnthonyRinaldi AnthonyRinaldi commented May 7, 2018

When will this be fixed? This is a hard stop for using Postman.

@mortac8

This comment has been minimized.

Copy link

@mortac8 mortac8 commented May 9, 2018

Also would like SOCKS support. Very important for us.

@marpo60

This comment has been minimized.

Copy link

@marpo60 marpo60 commented May 9, 2018

In the mean while you could do a local tunnel.

ssh -L 9999:destination.com:80 sock5_proxy_server

Use localhost:9999 in your postman address and it will be the same as accessing destination.com:80 from the sock5_proxy_server

https://www.ssh.com/ssh/tunneling/example

@Skeeve

This comment has been minimized.

Copy link

@Skeeve Skeeve commented May 9, 2018

Nope. In the meantime I can more easily use RESTClient + FoxyProxy because for this I do not have to change any url.

To be honest: I find it much more convenient and I do not miss Postman at all.

@rmatec

This comment has been minimized.

Copy link

@rmatec rmatec commented May 10, 2018

Can we assume this will never be implemented?

@navennn

This comment has been minimized.

Copy link

@navennn navennn commented May 11, 2018

SSH tunnelling works.
ssh -L 12345:192.168.1.15:80 your-external-ip
in postman as dest you specify localhost:12345
Make sure proxy is disabled in the settings.

@Skeeve

This comment has been minimized.

Copy link

@Skeeve Skeeve commented May 11, 2018

@navennn you totally missed the point. This is about socks5 proxy.

With that you have a socks 5 proxy which will forward any traffic to any target host.

Normal tunneling forwards traffic to one specific target host.

@navennn

This comment has been minimized.

Copy link

@navennn navennn commented May 11, 2018

I know.
But this is a workaround to your issue. At least you can do it.

@Skeeve

This comment has been minimized.

Copy link

@Skeeve Skeeve commented May 11, 2018

And @navennn you also missed the fact that there already is a much better workaround. Additionally your "tipp" already was given by @marpo60.

@navennn

This comment has been minimized.

Copy link

@navennn navennn commented May 11, 2018

I read all of it, I know. You can't prove me wrong since I'm not wrong.

@pierreprinetti

This comment has been minimized.

Copy link
Author

@pierreprinetti pierreprinetti commented May 11, 2018

@Skeeve

Unless @navennn is representing @postmanlabs, I see no reason for being aggressive.

@Skeeve

This comment has been minimized.

Copy link

@Skeeve Skeeve commented May 11, 2018

Okay, @pierreprinetti - I'm out. No more interest in Postman.

@pierreprinetti

This comment has been minimized.

Copy link
Author

@pierreprinetti pierreprinetti commented May 11, 2018

Okay, @pierreprinetti - I'm out. No more interest in Postman.

Just to clarify: nobody in this thread works for Postman AFAIK, except @abhijitkane. People are just trying to help.

That being said, bye bye @Skeeve!

@mortac8

This comment has been minimized.

Copy link

@mortac8 mortac8 commented May 14, 2018

I just reverted to using the postman chrome app then set the socks proxy in my browser.

@Prestaul

This comment has been minimized.

Copy link

@Prestaul Prestaul commented May 15, 2018

FWIW, I found a kanban board in this project with proxy related issues on it. Not really much insight there but I think this is were this work would be tracked (if it were in flight)...

@Wheaties466

This comment has been minimized.

Copy link

@Wheaties466 Wheaties466 commented Jun 4, 2018

Curious if socks 5 proxy is going to be implemented into the standalone app. Since this appears to be a port from chromium via electron it should be able to set its own socks 5 proxy.

Since it looks like this is available in electron and is documented well it shouldn't be difficult to implement. https://github.com/electron/electron/blob/a0cac0555570b1c55d011d72e32f48ef6e0c9e28/docs/api/session.md

@avmohan

This comment has been minimized.

Copy link

@avmohan avmohan commented Jun 6, 2018

A workaround to this issue is to convert the socks proxy into an http proxy using https://github.com/oyyd/http-proxy-to-socks

@a85 a85 self-assigned this Jun 29, 2018
@bloigge

This comment has been minimized.

Copy link

@bloigge bloigge commented Jul 6, 2018

@avmohan - thanks for sharing. that's the most easy solution. great tool!

@mihaimorcov

This comment has been minimized.

Copy link

@mihaimorcov mihaimorcov commented Nov 26, 2018

Any plans to have this feature implemented? Will the existent Chrome app stay functional or should we expect it to be unusable after a point?

@arkhoss

This comment has been minimized.

Copy link

@arkhoss arkhoss commented Dec 26, 2018

I would love to see this feature in Postman, tip: "take a look of SwitchyOmega Chrome extension", if Postman can do that... would be really powerful and support proxy settings for multiple profiles / envs.

thanks!

@mancubus77

This comment has been minimized.

Copy link

@mancubus77 mancubus77 commented Mar 11, 2019

A workaround to this issue is to convert the socks proxy into an http proxy using https://github.com/oyyd/http-proxy-to-socks

+1
But doesn't work for host:ip
Switched to Chrome extension, which works smooth with browser config.

@shamasis shamasis assigned codenirvana and unassigned a85 Jul 8, 2019
@anandmatti

This comment has been minimized.

Copy link

@anandmatti anandmatti commented Nov 25, 2019

A workaround to this issue is to convert the socks proxy into an http proxy using https://github.com/oyyd/http-proxy-to-socks

Does this work with https urls?

@dvershinin

This comment has been minimized.

Copy link

@dvershinin dvershinin commented Dec 14, 2019

Awesome tip by @tangyl about using Privoxy.
Basically it can "add" SOCKS5 support to any app which doesn't natively support SOCKS5.
Documented my experience with Postman + Privoxy here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Plugins
Suggestions
Proxy
Suggestion
You can’t perform that action at this time.