postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

SOCKS5

Open pierreprinetti opened this issue 9 years ago • 62 comments

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

pierreprinetti avatar Aug 05 '15 08:08 pierreprinetti

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

abhijitkane avatar Aug 05 '15 08:08 abhijitkane

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

pierreprinetti avatar Aug 05 '15 08:08 pierreprinetti

Not sure. We'll look into this.

abhijitkane avatar Aug 05 '15 08:08 abhijitkane

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

pierreprinetti avatar Aug 05 '15 08:08 pierreprinetti

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.

strobelight avatar Aug 30 '16 14:08 strobelight

Are there actual plans that this will be implemented?

splagemann avatar Nov 21 '16 10:11 splagemann

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

polomsky avatar Apr 26 '17 17:04 polomsky

Is there a timeline on this feature?

fostec82 avatar Oct 24 '17 12:10 fostec82

i wanna this feature too

onionsheep avatar Oct 30 '17 09:10 onionsheep

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

xingchen19 avatar Nov 17 '17 06:11 xingchen19

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

burlacio avatar Nov 23 '17 07:11 burlacio

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

aaneez avatar Mar 01 '18 20:03 aaneez

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

PBXg33k avatar Mar 07 '18 09:03 PBXg33k

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 .

tangyl avatar Mar 09 '18 03:03 tangyl

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

actopolus avatar Mar 19 '18 12:03 actopolus

I'm also eagerly awaiting this feature :(

Skeeve avatar Apr 05 '18 06:04 Skeeve

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

Skeeve avatar Apr 05 '18 08:04 Skeeve

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

AnthonyRinaldi avatar May 07 '18 15:05 AnthonyRinaldi

Also would like SOCKS support. Very important for us.

mortac8 avatar May 09 '18 14:05 mortac8

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

marpo60 avatar May 09 '18 16:05 marpo60

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.

Skeeve avatar May 09 '18 22:05 Skeeve

Can we assume this will never be implemented?

rmatec avatar May 10 '18 11:05 rmatec

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.

navennn avatar May 11 '18 12:05 navennn

@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.

Skeeve avatar May 11 '18 12:05 Skeeve

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

navennn avatar May 11 '18 12:05 navennn

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

Skeeve avatar May 11 '18 12:05 Skeeve

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

navennn avatar May 11 '18 12:05 navennn

@Skeeve

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

pierreprinetti avatar May 11 '18 13:05 pierreprinetti

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

Skeeve avatar May 11 '18 14:05 Skeeve

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!

pierreprinetti avatar May 11 '18 14:05 pierreprinetti